-
-
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.
Merge branch 'develop' of github.com:decidim/decidim into chore/remov…
…e-admin-xlarge
- Loading branch information
Showing
83 changed files
with
330 additions
and
310 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
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
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
3 changes: 1 addition & 2 deletions
3
decidim-assemblies/app/views/decidim/assemblies/admin/assemblies_settings/_form.html.erb
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
6 changes: 1 addition & 5 deletions
6
decidim-assemblies/app/views/decidim/assemblies/admin/assemblies_types/_form.html.erb
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
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
8 changes: 1 addition & 7 deletions
8
decidim-assemblies/app/views/decidim/assemblies/admin/assembly_members/_form.html.erb
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
3 changes: 3 additions & 0 deletions
3
decidim-assemblies/app/views/decidim/assemblies/admin/assembly_members/index.html.erb
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
8 changes: 1 addition & 7 deletions
8
decidim-assemblies/app/views/decidim/assemblies/admin/assembly_user_roles/_form.html.erb
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
44 changes: 44 additions & 0 deletions
44
decidim-assemblies/app/views/layouts/decidim/admin/_manage_assemblies.html.erb
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,44 @@ | ||
<div class="inline-block relative"> | ||
<%= button_tag id: "assemblies-menu-trigger", data: { component: "dropdown", target: "assemblies-dropdown-menu-settings" }, class: "dropdown__trigger button button__transparent" do %> | ||
<span> | ||
<%= t("menu.manage", scope: "decidim.admin") %> | ||
</span> | ||
<%= icon "arrow-down-s-line" %> | ||
<% end %> | ||
<div id="assemblies-dropdown-menu-settings"> | ||
<ul class="dropdown dropdown__bottom"> | ||
<% if allowed_to? :import, :assembly %> | ||
<li class="dropdown__item"> | ||
<%= icon "price-tag-3-line", class: "fill-gray-2" %> | ||
<%= link_to t("actions.import_assembly", scope: "decidim.admin"), | ||
new_import_path, | ||
class: "text-secondary" %> | ||
</li> | ||
<% end %> | ||
<% if allowed_to?(:read, :assembly_list) %> | ||
<li class="dropdown__item"> | ||
<%= icon "government-line" %> | ||
<%= link_to t("menu.assemblies", scope: "decidim.admin"), | ||
decidim_admin_assemblies.assemblies_path, | ||
class: "text-secondary" %> | ||
</li> | ||
<% end %> | ||
<% if allowed_to?(:manage, :assemblies_type) %> | ||
<li class="dropdown__item"> | ||
<%= icon "government-line" %> | ||
<%= link_to t("menu.assemblies_types", scope: "decidim.admin"), | ||
decidim_admin_assemblies.assemblies_types_path, | ||
class: "text-secondary" %> | ||
</li> | ||
<% end %> | ||
<% if allowed_to? :read, :assemblies_setting %> | ||
<li class="dropdown__item"> | ||
<%= icon "tools-line" %> | ||
<%= link_to t("menu.assemblies_settings", scope: "decidim.admin"), | ||
decidim_admin_assemblies.edit_assemblies_settings_path, | ||
class: "text-secondary" %> | ||
</li> | ||
<% end %> | ||
</ul> | ||
</div> | ||
</div> |
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
29 changes: 1 addition & 28 deletions
29
decidim-assemblies/app/views/layouts/decidim/admin/assemblies_settings.html.erb
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
Oops, something went wrong.