diff options
-rw-r--r-- | app/views/request/show.rhtml | 7 | ||||
-rw-r--r-- | public/stylesheets/main.css | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/app/views/request/show.rhtml b/app/views/request/show.rhtml index aac8d0851..70ce5668f 100644 --- a/app/views/request/show.rhtml +++ b/app/views/request/show.rhtml @@ -1,5 +1,12 @@ <% @title = h(@info_request.title) %> +<% if @info_request.prominence == 'hidden' %> + <p id="hidden_request"> + This request has prominence 'hidden'. You can only see it because you are logged + in as a super user. + </p> +<% end %> + <% if @update_status || @info_request.awaiting_description %> <div class="describe_state_form" id="describe_state_form_1"> <%= render :partial => 'describe_state', :locals => { :id_suffix => "1" } %> diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index b266d5206..ff1e8af93 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -607,7 +607,7 @@ div.pagination { text-align: center; padding-top: 0.3em;} /*-------------------- Content : form errors */ -#error, .errorExplanation +#error, .errorExplanation, #hidden_request { color: #FF0606; font-size: 1.4em; @@ -617,7 +617,7 @@ div.pagination { text-align: center; padding-top: 0.3em;} border-style: solid; background-color: #ffeeee; } -#error { +#error, #hidden_request { padding: 0.5em; } .fieldWithErrors |