Commit 4e7b5d6f6d6f232dcd7e86c44923984526f237bc
1 parent
861eeeb7
Exists in
staging
and in
31 other branches
Convert RelatedOrganizationsBlock footer to slim
This should improve the view readability, as mentioned by @brauliobo on MR !833.
Showing
2 changed files
with
1 additions
and
8 deletions
Show diff stats
plugins/sub_organizations/views/blocks/footers/related_organizations.html.erb
@@ -1,8 +0,0 @@ | @@ -1,8 +0,0 @@ | ||
1 | -<%= link_to c_('View all'), | ||
2 | - { | ||
3 | - profile: block.owner.identifier, | ||
4 | - controller: 'sub_organizations_plugin_profile', | ||
5 | - action: block.display_type[:action], | ||
6 | - type: ((block.organization_type == 'enterprise' || block.organization_type == 'community') ? block.organization_type : nil) | ||
7 | - } | ||
8 | -%> |
plugins/sub_organizations/views/blocks/footers/related_organizations.slim
0 → 100644
@@ -0,0 +1 @@ | @@ -0,0 +1 @@ | ||
1 | += link_to c_('View all'), profile: block.owner.identifier, controller: 'sub_organizations_plugin_profile', action: block.display_type[:action], type: ((block.organization_type == 'enterprise' || block.organization_type == 'community') ? block.organization_type : nil) |