uses current css classes

This commit is contained in:
decabeza
2017-05-23 12:22:57 +02:00
parent bb98da68ae
commit 260df52a34
18 changed files with 142 additions and 168 deletions

View File

@@ -40,13 +40,13 @@
<div class="comment-footer">
<% if annotation.comments.roots.count > Legislation::Annotation::COMMENTS_PAGE_SIZE %>
<%= link_to legislation_process_draft_version_annotation_path(annotation.draft_version.process, annotation.draft_version, annotation), class: "button strong" do %>
<%= t('legislation.annotations.comments.see_all') %>
<%= link_to legislation_process_draft_version_annotation_path(annotation.draft_version.process, annotation.draft_version, annotation), class: "button" do %>
<strong><%= t('legislation.annotations.comments.see_all') %></strong>
<% end %>
<% end %>
<% if @process.open_phase?(:allegations) %>
<a class="button strong publish-comment" href="#"><%= t('legislation.annotations.comments.publish_comment') %></a>
<a class="button publish-comment" href="#"><strong><%= t('legislation.annotations.comments.publish_comment') %></strong></a>
&nbsp;
<% end %>
@@ -61,7 +61,7 @@
<% end %>
</div>
<% else %>
<div>
<div class="participation-not-allowed" style="display: none;" aria-hidden="false">
<%= t("legislation.annotations.form.login_to_comment",

View File

@@ -16,7 +16,9 @@
<div class="comment-actions">
<a class="cancel-comment" href="#" data-cancel-annotation><%= t('legislation.annotations.comments.cancel') %></a>
<%= f.submit t('legislation.annotations.comments.publish_comment'), class: 'button strong publish-comment' %>
<%= f.submit class: 'button publish-comment' do %>
<strong><%= t('legislation.annotations.comments.publish_comment') %></strong>
<% end %>
</div>
<%= f.hidden_field :quote %>

View File

@@ -11,7 +11,9 @@
<span><%= t('legislation.draft_versions.show.updated_at', date: format_date(@draft_version.updated_at)) %></span>
</div>
<div class="small-12 medium-3 column">
<%= link_to t('legislation.annotations.version_chooser.see_text'), legislation_process_draft_version_path(process, draft_version), title: t('legislation.annotations.version_chooser.see_text'), class: "button strong" %>
<%= link_to legislation_process_draft_version_path(process, draft_version), title: t('legislation.annotations.version_chooser.see_text'), class: "button" do %>
<strong><%= t('legislation.annotations.version_chooser.see_text') %></strong>
<% end %>
</div>
<aside class="small-12 medium-3 column">
<div class="sidebar-divider"></div>

View File

@@ -11,6 +11,8 @@
<span><%= t('legislation.draft_versions.show.updated_at', date: format_date(@draft_version.updated_at)) %></span>
</div>
<div class="small-12 medium-3 column">
<%= link_to t('.see_text'), legislation_process_draft_version_path(process, draft_version), title: t('.see_text'), class: "button strong" %>
<%= link_to legislation_process_draft_version_path(process, draft_version), title: t('.see_text'), class: "button" do %>
<%= t('.see_text') %>
<% end %>
</div>
</div>