Skip to content

Commit 3ae8d9d

Browse files
committed
[TAC022] Unify few more proposal button styles
- Promote to proposal button for amendments - Collaborative drafts edit and request access buttons
1 parent d418736 commit 3ae8d9d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

decidim-core/app/cells/decidim/amendable/promote_button_card_cell.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def decidim
4444
end
4545

4646
def button_classes
47-
"amend_button_card_cell button secondary hollow expanded button--icon button--sc"
47+
"amend_button_card_cell button expanded button--icon button--sc"
4848
end
4949
end
5050
end

decidim-proposals/app/views/decidim/proposals/collaborative_drafts/show.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@
6262
<% end %>
6363

6464
<% if allowed_to?(:edit, :collaborative_draft, collaborative_draft: @collaborative_draft) %>
65-
<%= link_to t("edit", scope:"decidim.proposals.collaborative_drafts.show"), edit_collaborative_draft_path(@collaborative_draft), class: "button secondary hollow expanded button--sc mt-s", id: "collaborative_draft_edit" %>
65+
<%= link_to t("edit", scope:"decidim.proposals.collaborative_drafts.show"), edit_collaborative_draft_path(@collaborative_draft), class: "button hollow expanded button--sc mt-s", id: "collaborative_draft_edit" %>
6666
<% end %>
6767

6868
<%= render "request_access_form" %>
6969

7070
<% if @collaborative_draft.requesters.include? current_user %>
71-
<button type="button" class="button secondary light expanded button--sc mt-s">
71+
<button type="button" class="button expanded button--sc mt-s">
7272
<%= t("requested_access", scope:"decidim.proposals.collaborative_drafts.show") %>
7373
</button>
7474
<% end %>

0 commit comments

Comments
 (0)