From b13d89e982c65c746e4f2610eb0b5a465488476e Mon Sep 17 00:00:00 2001 From: Toks Date: Sun, 1 Jun 2014 00:58:53 -0400 Subject: [PATCH] fixes #2172 --- app/assets/stylesheets/specific/posts.css.scss | 4 ++++ app/views/artist_commentaries/_show.html.erb | 14 ++++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/specific/posts.css.scss b/app/assets/stylesheets/specific/posts.css.scss index d9fd1f502..d99b5935c 100644 --- a/app/assets/stylesheets/specific/posts.css.scss +++ b/app/assets/stylesheets/specific/posts.css.scss @@ -368,6 +368,10 @@ div#c-posts { background-color: #F8F8F8; margin-top: 1em; padding: 0.5em; + + .disabled { + color: gray; + } } } diff --git a/app/views/artist_commentaries/_show.html.erb b/app/views/artist_commentaries/_show.html.erb index ff42b739f..7a4f8af61 100644 --- a/app/views/artist_commentaries/_show.html.erb +++ b/app/views/artist_commentaries/_show.html.erb @@ -22,9 +22,19 @@ <% if artist_commentary.translated_present? %>
-

<%= artist_commentary.translated_title %>

+

+ <% if artist_commentary.translated_title.present? %> + <%= artist_commentary.translated_title %> + <% else %> + <%= artist_commentary.original_title %> + <% end %> +

- <%= format_text(artist_commentary.translated_description) %> + <% if artist_commentary.translated_description.present? %> + <%= format_text(artist_commentary.translated_description) %> + <% else %> + <%= format_text(artist_commentary.original_description) %> + <% end %>
<% end %>