Commit 7590a7c48ec743ef128986b34779b66629c752d3
1 parent
b8ade540
Exists in
master
and in
29 other branches
Added id and class on view_page to help formatting
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/views/content_viewer/view_page.rhtml
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | end | 4 | end |
5 | %> | 5 | %> |
6 | 6 | ||
7 | -<div id="article"> | 7 | +<div id="article" class="<%= @page.css_class_name %>"> |
8 | 8 | ||
9 | 9 | ||
10 | <div<%= " class='logged-in'" if user %>> | 10 | <div<%= " class='logged-in'" if user %>> |
@@ -52,7 +52,7 @@ | @@ -52,7 +52,7 @@ | ||
52 | </div> | 52 | </div> |
53 | <% else %> | 53 | <% else %> |
54 | <% if profile.community? && (@page.blog? || @page.parent && @page.parent.blog?) %> | 54 | <% if profile.community? && (@page.blog? || @page.parent && @page.parent.blog?) %> |
55 | - <%= link_to content_tag( 'span', _('Suggest an article') ), profile.admin_url.merge({ :controller => 'cms', :action => 'suggest_an_article'}), :class => 'button with-text icon-new' %> | 55 | + <%= link_to content_tag( 'span', _('Suggest an article') ), profile.admin_url.merge({ :controller => 'cms', :action => 'suggest_an_article'}), :id => 'suggest-article-link', :class => 'button with-text icon-new' %> |
56 | <% end %> | 56 | <% end %> |
57 | <% end %> | 57 | <% end %> |
58 | <div id="article-header"> | 58 | <div id="article-header"> |