Browse files

fixes #13779

  • Loading branch information...
1 parent aaebac3 commit c3e68715b0f15c3339af613cd3248d4e9f23669a Jan Schulz-Hofen committed Jan 31, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/issues/_index_tour.html.erb
View
4 app/views/issues/_index_tour.html.erb
@@ -1,9 +1,9 @@
<p><strong><%= t :'This is the Issues section' %></strong></p>
<p><%= t :'You can create issues assign them to coworkers check on their status and much more' %></p>
-<% if @project.issues.blank? %>
+<% if @project and @project.issues.blank? %>
<p><em><%= t :'It seems as if you have not created any issues yet If you like try creating one using the X tab in the upper menu', :new_issue => content_tag(:em, content_tag(:strong, t(:label_issue_new))) %></em></p>
<% else %>
<p><%= t :'Clicking an issue with the left mouse button will let you view and modify it if you have the respective permissions' %></p>
<p><%= t :'Clicking an issue or group of issues with the right mouse button will open a context menu with more options' %></p>
<p><em><%= t :'Please note that right clicking the link directly will open the system context menu in most browsers Please right click the area next to the link in order to activate the issues context menu' %></em></p>
-<% end %>
+<% end %>

0 comments on commit c3e6871

Please sign in to comment.