-
-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove sticky from tos agreement (#6716)
* Remove sticky from tos agreement * Modify tests to check visibility of modified TOS * Remove i18n files
- Loading branch information
Showing
6 changed files
with
20 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
<%= cell("decidim/announcement", announcement_args) %> | ||
<%= content_tag :div, nil, id: "sticky-top-stop" %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<article class="card"> | ||
<div class="card__content"> | ||
<div class="card__header"> | ||
<h5 class="card__title text-center"> | ||
<%= t("form.legend", scope: "decidim.pages.terms_and_conditions") %> | ||
</h5> | ||
</div> | ||
|
||
<div class="row column flex-center"> | ||
<%= cell "decidim/tos_page", :refuse_btn_modal %> | ||
<%= button_to decidim.accept_tos_path, method: :put, class: "button button--nomargin small" do %> | ||
<%= t("form.agreement", scope: "decidim.pages.terms_and_conditions") %> | ||
<% end %> | ||
</div> | ||
</div> | ||
</article> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters