Bug #4456 ยป 0001-fixes-bookmark-error.patch
app/views/bookmarks/index.html.erb | ||
---|---|---|
</tr>
|
||
<% for bookmark in @bookmarks %>
|
||
<tr>
|
||
<td><%= link_to_if_authorized(h(bookmark.name), hash_for_edit_bookmark_path(:id => bookmark)) %></td>
|
||
<td><%=h bookmark.query %></td>
|
||
<td><%=h bookmark.controller %></td>
|
||
<td><%=h bookmark.public %></td>
|
||
<td><%= link_to_if_authorized(h(bookmark.name), hash_for_edit_bookmark_path(bookmark)) %></td>
|
||
<td><%= bookmark.query %></td>
|
||
<td><%= bookmark.controller %></td>
|
||
<td><%= bookmark.public %></td>
|
||
<td align="right">
|
||
<%= display_delete_if_authorized hash_for_bookmark_path(:id => bookmark.name), :confirm => _("Delete %s?") % bookmark.name %>
|
||
<%= display_delete_if_authorized hash_for_bookmark_path(bookmark), :confirm => _("Delete %s?") % bookmark.name %>
|
||
</td>
|
||
</tr>
|
||
<% end %>
|
app/views/common/500.html.erb | ||
---|---|---|
<% title _("Oops, we're sorry but something went wrong") %>
|
||
<%= alert :class => 'alert-block alert-danger base in fade', :text => exception.message %>
|
||
<%= alert :class => 'alert-block alert-danger base in fade', :text => h(exception.message) %>
|
||
<p>
|
||
<%= _("If you feel this is an error with Foreman itself, please open a new issue with") %> <%= link_to _("Foreman ticketing system"), "http://theforeman.org/projects/foreman/issues", :rel => "external" %>,
|