summaryrefslogtreecommitdiffstats
path: root/app/views/common/error.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/common/error.html.erb')
-rw-r--r--app/views/common/error.html.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/common/error.html.erb b/app/views/common/error.html.erb
index a5ec39c3a..04b4b0377 100644
--- a/app/views/common/error.html.erb
+++ b/app/views/common/error.html.erb
@@ -3,6 +3,11 @@
<% if @message.present? %>
<p id="errorExplanation"><%= @message %></p>
<% end %>
+
+<% if @archived_project && User.current.admin? %>
+ <p><%= link_to l(:button_unarchive), unarchive_project_path(@archived_project), :method => :post, :class => 'icon icon-unlock' %></p>
+<% end %>
+
<p><a href="javascript:history.back()"><%= l(:button_back) %></a></p>
<% html_title @status %>