Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixes #13779

  • Loading branch information...
commit c3e68715b0f15c3339af613cd3248d4e9f23669a 1 parent aaebac3
Jan Schulz-Hofen authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/issues/_index_tour.html.erb
4 app/views/issues/_index_tour.html.erb
View
@@ -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 %>
Please sign in to comment.
Something went wrong with that request. Please try again.