summaryrefslogtreecommitdiffstats
path: root/app/views/common/error.html.erb
blob: 4a7e2bf0cbbe59f87377442ac1dcda9e855ca034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<h2><%= @status %></h2>

<% if @message.present? %>
  <p id="errorExplanation"><%= @message %></p>
<% end %>

<% if @archived_project && User.current.admin? %>
  <p><%= link_to icon_with_label('unlock', 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 %>