]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/issues/index.html.erb
Rework the 'issues not found' notice slightly.
[rails.git] / app / views / issues / index.html.erb
index f9f2c28f96ef9656903d554ee477ba6ca770d31f..a490223ae472a159d2ad3e10e66fb6275aee5a37 100644 (file)
@@ -1,5 +1,3 @@
-<p id= "notice"><%= notice %></p>
-
 <% content_for :heading do %>
   <h1>List of <%= @user_role %> issues:</h1>
 <% end %>
@@ -13,6 +11,11 @@ Search for a particular issue(s):  <br/>
 <%= submit_tag "Search" %>
 <% end %>
 <br/>
+
+<% if @issues.length == 0 %>
+  <p><%= t ".search.issues_not_found" %></p>
+<% end %>
+
 <br/>
 
 <table>