From 67ecd0eabd54de997bc1031f06b678a1dd54ce17 Mon Sep 17 00:00:00 2001 From: magnolia-fan Date: Thu, 24 Nov 2011 03:45:29 +0400 Subject: [PATCH] Simplify --- app/views/artist/_page.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/artist/_page.html.haml b/app/views/artist/_page.html.haml index 64e12a4..050be86 100644 --- a/app/views/artist/_page.html.haml +++ b/app/views/artist/_page.html.haml @@ -6,8 +6,8 @@ = image_tag @artist.pic_url unless @artist.pic_url.nil? .span7.columns.desc %h2 - =(@artist.original_name.nil? or @artist.original_name == @artist.name ? @artist.name : @artist.original_name) - %small= " "+(@artist.original_name.nil? or @artist.original_name == @artist.name ? "" : @artist.name) + =@artist.name + %small= " "+@artist.original_name.to_s = @artist.desc.html_safe unless @artist.desc.nil? - unless @artist.artist_links.empty? .service-icons