TRIVIAL: remove default 'Read more' link in the banner

This commit is contained in:
Régis Hanol 2014-06-20 18:56:26 +02:00
parent 4878d88cbd
commit f733237075
4 changed files with 1 additions and 5 deletions

View File

@ -4,6 +4,5 @@
<div class="close" {{action dismiss}}><i class="fa fa-times" title="{{i18n banner.close}}"></i></div> <div class="close" {{action dismiss}}><i class="fa fa-times" title="{{i18n banner.close}}"></i></div>
{{{banner.html}}} {{{banner.html}}}
</div> </div>
<a href="{{unbound banner.url}}" title="{{i18n banner.read_more.title}}">{{i18n banner.read_more.text}}</a>
</div> </div>
{{/if}} {{/if}}

View File

@ -19,6 +19,7 @@
font-size: 25px !important; font-size: 25px !important;
margin-top: -10px !important; margin-top: -10px !important;
} }
.meta { .meta {
display: none; display: none;
} }

View File

@ -651,7 +651,6 @@ class Topic < ActiveRecord::Base
{ {
html: post.cooked, html: post.cooked,
url: self.url,
key: self.id key: self.id
} }
end end

View File

@ -168,9 +168,6 @@ en:
banner: banner:
close: "Dismiss this banner." close: "Dismiss this banner."
read_more:
title: "Click to go to the topic."
text: "Read more"
choose_topic: choose_topic:
none_found: "No topics found." none_found: "No topics found."