Show anonymous user warning in data browser note view
This commit is contained in:
parent
5ad45549e1
commit
16a0f14f4a
2 changed files with 10 additions and 0 deletions
|
@ -934,6 +934,10 @@ ul.results-list li { border-bottom: 1px solid #ccc; }
|
|||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
&.warning {
|
||||
color: #ff7070;
|
||||
font-weight: bold;
|
||||
}
|
||||
h4, p {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
|
|
@ -15,6 +15,12 @@
|
|||
|
||||
<div class='column-1'>
|
||||
|
||||
<% if @note.comments.find { |comment| comment.author.nil? } -%>
|
||||
<div class='browse-section common warning'>
|
||||
<%= t "javascripts.notes.show.anonymous_warning" %>
|
||||
</div>
|
||||
<% end -%>
|
||||
|
||||
<div class='browse-section common'>
|
||||
<div>
|
||||
<h4><%= t "browse.note.opened" %></h4>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue