diff options
Diffstat (limited to 'app/views/layouts')
| -rw-r--r-- | app/views/layouts/admin.html.erb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb index 340eaf25..79b13801 100644 --- a/app/views/layouts/admin.html.erb +++ b/app/views/layouts/admin.html.erb | |||
| @@ -33,6 +33,13 @@ | |||
| 33 | <% if flash[:notice].present? || flash[:error].present? %> | 33 | <% if flash[:notice].present? || flash[:error].present? %> |
| 34 | <div id="flash"> | 34 | <div id="flash"> |
| 35 | <%= flash[:notice] %> | 35 | <%= flash[:notice] %> |
| 36 | <% if flash[:status_path] %> | ||
| 37 | <%= link_to 'Go to Status', flash[:status_path] %> | ||
| 38 | <% end %> | ||
| 39 | <% if flash[:stale_locale_path] %> | ||
| 40 | The <%= flash[:stale_locale] %> translation may be out of date — | ||
| 41 | <%= link_to 'review it', flash[:stale_locale_path] %> too. | ||
| 42 | <% end %> | ||
| 36 | <% if flash[:error] %> | 43 | <% if flash[:error] %> |
| 37 | <span id="flash_error"><%= flash[:error] %></span> | 44 | <span id="flash_error"><%= flash[:error] %></span> |
| 38 | <% end %> | 45 | <% end %> |
