|
4 | 4 | - if title.to_s.include?(' - ') |
5 | 5 | = link_to(my_etm_path("saved_scenarios/#{scenario.saved_scenario_id}"), class: 'scenario') do |
6 | 6 | - main_title, org = title.split(' - ', 2) |
7 | | - %span.group= group.capitalize |
| 7 | + .labels |
| 8 | + .group= group.capitalize |
| 9 | + .org |
| 10 | + .fa.fa-folder |
| 11 | + = org.html_safe |
| 12 | + |
8 | 13 |
|
9 | | - %span.version= "##{scenario.version}" |
10 | 14 | %h4.title= format_subscripts(main_title) |
11 | | - %span.org= org.html_safe |
12 | | - %span.author= t('intro.featured_by', author: scenario.author, area: t("areas.#{scenario.area_code}")) |
| 15 | + %span.author= t('intro.featured_by', author: scenario.author) |
| 16 | + .area |
| 17 | + .fa.fa-map-marker |
| 18 | + = t("areas.#{scenario.area_code}") |
| 19 | + %span.version= "##{scenario.version}" |
13 | 20 | - else |
14 | 21 | = link_to(my_etm_path("saved_scenarios/#{scenario.saved_scenario_id}"), class: 'scenario') do |
15 | | - %span.group= group.capitalize |
16 | | - %span.version= "##{scenario.version}" |
| 22 | + .labels |
| 23 | + .group= group.capitalize |
17 | 24 | %h4.title= format_subscripts(title) |
18 | | - %span.author= t('intro.featured_by', author: scenario.author, area: t("areas.#{scenario.area_code}")) |
| 25 | + %span.author= t('intro.featured_by', author: scenario.author) |
| 26 | + .area |
| 27 | + .fa.fa-map-marker |
| 28 | + = t("areas.#{scenario.area_code}") |
| 29 | + %span.version= "##{scenario.version}" |
0 commit comments