Changes for tag key in side_bar announcement and news, fix ad_banner css for dot
This commit is contained in:
parent
ec8afc1341
commit
50edfdd02f
|
@ -682,6 +682,9 @@
|
||||||
resize: none;
|
resize: none;
|
||||||
max-height: 500px;
|
max-height: 500px;
|
||||||
}
|
}
|
||||||
|
#banner [id^="slideshow-"] {
|
||||||
|
z-index: 2 !important;
|
||||||
|
}
|
||||||
[class^="icons-"] {
|
[class^="icons-"] {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<h3 class="h3"><%= t('announcement.tag_cloud') %></h3>
|
<h3 class="h3"><%= t('announcement.tag_cloud') %></h3>
|
||||||
<div class="cloud">
|
<div class="cloud">
|
||||||
<% @tags.each do |tag| %>
|
<% @tags.each do |tag| %>
|
||||||
<%= link_to tag[I18n.locale], panel_announcement_front_end_bulletins_path(:tag_id => tag.id), :class => "hot#{rand(4) + 1} #{tag.id.to_s.eql?(params[:tag_id]) ? 'active' : nil}" %>
|
<%= link_to tag[I18n.locale], panel_announcement_front_end_bulletins_path(:tag_id => tag.id), :class => "hot#{rand(4) + 1} #{(tag.id.to_s.eql?(params[:tag_id]) || tag.key.eql?(params[:tag_id])) ? 'active' : nil}" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<h3 class="h3"><%= t('announcement.tag_cloud') %></h3>
|
<h3 class="h3"><%= t('announcement.tag_cloud') %></h3>
|
||||||
<div class="cloud">
|
<div class="cloud">
|
||||||
<% @tags.each do |tag| %>
|
<% @tags.each do |tag| %>
|
||||||
<%= link_to tag[I18n.locale], panel_news_front_end_news_bulletins_path(:tag_id => tag.id), :class => "hot#{rand(4) + 1} #{tag.id.to_s.eql?(params[:tag_id]) ? 'active' : nil}" %>
|
<%= link_to tag[I18n.locale], panel_news_front_end_news_bulletins_path(:tag_id => tag.id), :class => "hot#{rand(4) + 1} #{(tag.id.to_s.eql?(params[:tag_id]) || tag.key.eql?(params[:tag_id])) ? 'active' : nil}" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue