fixes #2172
This commit is contained in:
@@ -368,6 +368,10 @@ div#c-posts {
|
|||||||
background-color: #F8F8F8;
|
background-color: #F8F8F8;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
|
|
||||||
|
.disabled {
|
||||||
|
color: gray;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,9 +22,19 @@
|
|||||||
|
|
||||||
<% if artist_commentary.translated_present? %>
|
<% if artist_commentary.translated_present? %>
|
||||||
<section id="translated-artist-commentary">
|
<section id="translated-artist-commentary">
|
||||||
<h3><%= artist_commentary.translated_title %></h3>
|
<h3>
|
||||||
|
<% if artist_commentary.translated_title.present? %>
|
||||||
|
<%= artist_commentary.translated_title %>
|
||||||
|
<% else %>
|
||||||
|
<span class="disabled"><%= artist_commentary.original_title %></span>
|
||||||
|
<% end %>
|
||||||
|
</h3>
|
||||||
<div class="prose">
|
<div class="prose">
|
||||||
<%= format_text(artist_commentary.translated_description) %>
|
<% if artist_commentary.translated_description.present? %>
|
||||||
|
<%= format_text(artist_commentary.translated_description) %>
|
||||||
|
<% else %>
|
||||||
|
<span class="disabled"><%= format_text(artist_commentary.original_description) %></span>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Reference in New Issue
Block a user