Skip to content

Commit a648601

Browse files
committed
Hotfix for Issue #576 - Reorder Survey items
1 parent a8e8eed commit a648601

5 files changed

Lines changed: 63 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!--
2+
insert_after ".remove-question"
3+
-->
4+
<button class="button button__sm button__transparent-secondary small alert move-down-question button--title">
5+
<%= icon("arrow-down-line") %>
6+
<%= t(".down") %>
7+
</button>
8+
9+
<button class="button button__sm button__transparent-secondary small alert move-up-question button--title">
10+
<%= icon("arrow-up-line") %>
11+
<%= t(".up") %>
12+
</button>
13+
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!--
2+
insert_before ".remove-question"
3+
-->
4+
<button class="button button__sm button__transparent button__transparent-secondary small alert move-up-question button--title">
5+
<%= icon("arrow-up-line") %>
6+
<%= t(".up") %>
7+
</button>
8+
9+
<button class="button button__sm button__transparent button__transparent-secondary small alert move-down-question button--title">
10+
<%= icon("arrow-down-line") %>
11+
<%= t(".down") %>
12+
</button>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!--
2+
insert_after ".remove-question"
3+
-->
4+
<button class="button button__sm button__transparent button__transparent-secondary small alert move-down-question button--title">
5+
<%= icon("arrow-down-line") %>
6+
<%= t(".down") %>
7+
</button>
8+
9+
<button class="button button__sm button__transparent button__transparent-secondary small alert move-up-question button--title">
10+
<%= icon("arrow-up-line") %>
11+
<%= t(".up") %>
12+
</button>
13+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!--
2+
insert_after ".remove-question"
3+
-->
4+
<button class="button button__sm button__transparent-secondary small alert move-down-question button--title">
5+
<%= icon "arrow-down-line" %>
6+
<span><%= t("down", scope: "decidim.forms.admin.questionnaires.question") %></span>
7+
</button>
8+
9+
<button class="button button__sm button__transparent-secondary small alert move-up-question button--title">
10+
<%= icon "arrow-up-line" %>
11+
<span><%= t("up", scope: "decidim.forms.admin.questionnaires.question") %></span>
12+
</button>
13+

config/locales/en.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,18 @@ en:
133133
follows:
134134
create:
135135
participatory_space: Already following %{space_name}
136+
forms:
137+
admin:
138+
questionnaires:
139+
question:
140+
down: Down
141+
up: Up
142+
separator:
143+
down: Down
144+
up: Up
145+
title_and_description:
146+
down: Down
147+
up: Up
136148
menu:
137149
help: Info & Help
138150
pages:

0 commit comments

Comments
 (0)