decidim-accountability 0.27.5 → 0.28.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/accountability/content_blocks/highlighted_results_cell.rb +3 -8
  3. data/app/cells/decidim/accountability/highlighted_results/show.erb +3 -1
  4. data/app/cells/decidim/accountability/highlighted_results_for_component/show.erb +19 -19
  5. data/app/cells/decidim/accountability/highlighted_results_for_component_cell.rb +29 -6
  6. data/app/cells/decidim/accountability/project/show.erb +11 -0
  7. data/app/cells/decidim/accountability/project/timeline.erb +22 -0
  8. data/app/cells/decidim/accountability/project_cell.rb +75 -0
  9. data/app/cells/decidim/accountability/result_activity_cell.rb +1 -4
  10. data/app/cells/decidim/accountability/result_card_cell.rb +21 -0
  11. data/app/cells/decidim/accountability/result_cell.rb +2 -2
  12. data/app/cells/decidim/accountability/result_l/extra_data.erb +3 -0
  13. data/app/cells/decidim/accountability/result_l_cell.rb +30 -0
  14. data/app/cells/decidim/accountability/result_metadata/project_aside.erb +6 -0
  15. data/app/cells/decidim/accountability/result_metadata/show_footer.erb +11 -0
  16. data/app/cells/decidim/accountability/result_metadata/versions.erb +1 -0
  17. data/app/cells/decidim/accountability/result_metadata_cell.rb +136 -0
  18. data/app/cells/decidim/accountability/results/show.erb +7 -0
  19. data/app/cells/decidim/accountability/results_cell.rb +14 -0
  20. data/app/cells/decidim/accountability/status/show.erb +9 -0
  21. data/app/cells/decidim/accountability/status/status.erb +16 -0
  22. data/app/cells/decidim/accountability/status_cell.rb +91 -0
  23. data/app/commands/decidim/accountability/admin/import_projects_to_accountability.rb +37 -0
  24. data/app/controllers/concerns/decidim/accountability/admin/filterable.rb +2 -2
  25. data/app/controllers/decidim/accountability/admin/import_results_controller.rb +18 -6
  26. data/app/controllers/decidim/accountability/admin/projects_import_controller.rb +31 -0
  27. data/app/controllers/decidim/accountability/admin/results_controller.rb +4 -5
  28. data/app/controllers/decidim/accountability/admin/statuses_controller.rb +3 -3
  29. data/app/controllers/decidim/accountability/admin/timeline_entries_controller.rb +3 -3
  30. data/app/controllers/decidim/accountability/results_controller.rb +20 -2
  31. data/app/forms/decidim/accountability/admin/import_results_form.rb +22 -0
  32. data/app/forms/decidim/accountability/admin/result_import_projects_form.rb +51 -0
  33. data/app/helpers/decidim/accountability/admin/application_helper.rb +1 -0
  34. data/app/helpers/decidim/accountability/application_helper.rb +43 -2
  35. data/app/helpers/decidim/accountability/breadcrumb_helper.rb +10 -0
  36. data/app/jobs/decidim/accountability/admin/import_projects_job.rb +72 -0
  37. data/app/mailers/decidim/accountability/import_projects_mailer.rb +25 -0
  38. data/app/models/decidim/accountability/result.rb +1 -1
  39. data/app/packs/entrypoints/decidim_accountability.js +4 -1
  40. data/app/packs/entrypoints/decidim_accountability_admin_imports.js +3 -0
  41. data/app/packs/images/decidim/accountability/breadcrumb_arrow.svg +3 -0
  42. data/app/packs/src/decidim/accountability/admin/imports.js +15 -0
  43. data/app/packs/stylesheets/accountability.scss +169 -0
  44. data/app/permissions/decidim/accountability/admin/permissions.rb +17 -6
  45. data/app/presenters/decidim/accountability/admin_log/result_presenter.rb +2 -2
  46. data/app/presenters/decidim/accountability/admin_log/status_presenter.rb +2 -2
  47. data/app/presenters/decidim/accountability/admin_log/timeline_entry_presenter.rb +2 -2
  48. data/app/queries/decidim/accountability/metrics/results_metric_manage.rb +1 -1
  49. data/app/services/decidim/accountability/results_calculator.rb +1 -1
  50. data/app/services/decidim/accountability/results_csv_importer.rb +2 -2
  51. data/app/views/decidim/accountability/admin/import_results/new.html.erb +27 -23
  52. data/app/views/decidim/accountability/admin/projects_import/new.html.erb +45 -0
  53. data/app/views/decidim/accountability/admin/results/_form.html.erb +46 -46
  54. data/app/views/decidim/accountability/admin/results/edit.html.erb +18 -7
  55. data/app/views/decidim/accountability/admin/results/index.html.erb +102 -91
  56. data/app/views/decidim/accountability/admin/results/new.html.erb +18 -8
  57. data/app/views/decidim/accountability/admin/shared/_subnav.html.erb +1 -1
  58. data/app/views/decidim/accountability/admin/statuses/_form.html.erb +15 -17
  59. data/app/views/decidim/accountability/admin/statuses/edit.html.erb +16 -6
  60. data/app/views/decidim/accountability/admin/statuses/index.html.erb +33 -36
  61. data/app/views/decidim/accountability/admin/statuses/new.html.erb +16 -6
  62. data/app/views/decidim/accountability/admin/timeline_entries/_form.html.erb +12 -14
  63. data/app/views/decidim/accountability/admin/timeline_entries/edit.html.erb +17 -6
  64. data/app/views/decidim/accountability/admin/timeline_entries/index.html.erb +35 -34
  65. data/app/views/decidim/accountability/admin/timeline_entries/new.html.erb +17 -6
  66. data/app/views/decidim/accountability/import_projects_mailer/import.html.erb +2 -0
  67. data/app/views/decidim/accountability/results/_home_categories.html.erb +28 -73
  68. data/app/views/decidim/accountability/results/_linked_results.html.erb +3 -12
  69. data/app/views/decidim/accountability/results/_project.html.erb +29 -0
  70. data/app/views/decidim/accountability/results/_projects_aside.html.erb +40 -0
  71. data/app/views/decidim/accountability/results/_scope_filters.html.erb +27 -27
  72. data/app/views/decidim/accountability/results/_search.html.erb +15 -9
  73. data/app/views/decidim/accountability/results/_stats_box.html.erb +3 -3
  74. data/app/views/decidim/accountability/results/home.html.erb +34 -8
  75. data/app/views/decidim/accountability/results/index.html.erb +15 -15
  76. data/app/views/decidim/accountability/results/index.js.erb +3 -0
  77. data/app/views/decidim/accountability/results/show.html.erb +9 -10
  78. data/app/views/decidim/accountability/versions/show.html.erb +12 -9
  79. data/app/views/decidim/participatory_spaces/_result.html.erb +2 -2
  80. data/config/assets.rb +2 -2
  81. data/config/locales/ar.yml +22 -60
  82. data/config/locales/bg.yml +0 -36
  83. data/config/locales/ca.yml +53 -30
  84. data/config/locales/cs.yml +58 -29
  85. data/config/locales/da.yml +0 -36
  86. data/config/locales/de.yml +59 -36
  87. data/config/locales/el.yml +62 -29
  88. data/config/locales/en.yml +55 -31
  89. data/config/locales/es-MX.yml +52 -29
  90. data/config/locales/es-PY.yml +52 -29
  91. data/config/locales/es.yml +53 -30
  92. data/config/locales/eu.yml +53 -30
  93. data/config/locales/fi-plain.yml +51 -28
  94. data/config/locales/fi.yml +52 -29
  95. data/config/locales/fr-CA.yml +51 -28
  96. data/config/locales/fr.yml +52 -29
  97. data/config/locales/ga-IE.yml +0 -4
  98. data/config/locales/gl.yml +0 -41
  99. data/config/locales/hu.yml +41 -29
  100. data/config/locales/id-ID.yml +0 -30
  101. data/config/locales/is-IS.yml +0 -32
  102. data/config/locales/it.yml +0 -41
  103. data/config/locales/ja.yml +55 -39
  104. data/config/locales/kaa.yml +20 -1
  105. data/config/locales/ko.yml +0 -15
  106. data/config/locales/lb.yml +0 -41
  107. data/config/locales/lt.yml +60 -41
  108. data/config/locales/lv.yml +0 -36
  109. data/config/locales/nl.yml +0 -41
  110. data/config/locales/no.yml +8 -49
  111. data/config/locales/pl.yml +17 -40
  112. data/config/locales/pt-BR.yml +41 -29
  113. data/config/locales/pt.yml +0 -41
  114. data/config/locales/ro-RO.yml +14 -39
  115. data/config/locales/ru.yml +0 -30
  116. data/config/locales/si-LK.yml +0 -3
  117. data/config/locales/sk.yml +0 -40
  118. data/config/locales/sl.yml +0 -11
  119. data/config/locales/sq-AL.yml +82 -7
  120. data/config/locales/sr-CS.yml +0 -30
  121. data/config/locales/sv.yml +23 -38
  122. data/config/locales/tr-TR.yml +9 -62
  123. data/config/locales/uk.yml +0 -28
  124. data/config/locales/zh-CN.yml +0 -36
  125. data/config/locales/zh-TW.yml +52 -43
  126. data/lib/decidim/accountability/admin_engine.rb +3 -2
  127. data/lib/decidim/accountability/component.rb +4 -99
  128. data/lib/decidim/accountability/engine.rb +9 -1
  129. data/lib/decidim/accountability/result_serializer.rb +1 -1
  130. data/lib/decidim/accountability/seeds.rb +115 -0
  131. data/lib/decidim/accountability/test/factories.rb +3 -2
  132. data/lib/decidim/accountability/version.rb +1 -1
  133. metadata +61 -48
  134. data/app/cells/decidim/accountability/content_blocks/highlighted_results/elements.erb +0 -5
  135. data/app/cells/decidim/accountability/content_blocks/highlighted_results/heading.erb +0 -1
  136. data/app/cells/decidim/accountability/result_m/data.erb +0 -23
  137. data/app/cells/decidim/accountability/result_m/footer.erb +0 -22
  138. data/app/cells/decidim/accountability/result_m/tags.erb +0 -1
  139. data/app/cells/decidim/accountability/result_m_cell.rb +0 -37
  140. data/app/packs/stylesheets/decidim/accountability/_accountability.scss +0 -4
  141. data/app/packs/stylesheets/decidim/accountability/accountability/_cards.scss +0 -11
  142. data/app/packs/stylesheets/decidim/accountability/accountability/_categories.scss +0 -121
  143. data/app/packs/stylesheets/decidim/accountability/accountability/_lines_breadcrumb.scss +0 -37
  144. data/app/packs/stylesheets/decidim/accountability/accountability/_results.scss +0 -148
  145. data/app/views/decidim/accountability/admin/results/proposals_picker.html.erb +0 -1
  146. data/app/views/decidim/accountability/result_widgets/show.html.erb +0 -2
  147. data/app/views/decidim/accountability/results/_home_header.html.erb +0 -23
  148. data/app/views/decidim/accountability/results/_results_leaf.html.erb +0 -47
  149. data/app/views/decidim/accountability/results/_results_parent.html.erb +0 -32
  150. data/app/views/decidim/accountability/results/_show_leaf.html.erb +0 -81
  151. data/app/views/decidim/accountability/results/_show_parent.html.erb +0 -30
  152. data/app/views/decidim/accountability/results/_stats.html.erb +0 -15
  153. data/app/views/decidim/accountability/results/_timeline.html.erb +0 -30
  154. data/app/views/decidim/accountability/versions/index.html.erb +0 -12
  155. data/config/environment.rb +0 -3
@@ -1,148 +0,0 @@
1
- .accountability{
2
- .intro{
3
- ul{
4
- margin-bottom: 1rem;
5
- }
6
-
7
- .progress-level{
8
- background: $white;
9
- padding: 1.5rem 1.75rem;
10
-
11
- p{
12
- font-weight: 600;
13
- margin-bottom: .25rem;
14
- display: inline-block;
15
- margin-right: .5rem;
16
- font-size: 1.25rem;
17
- }
18
-
19
- .icon{
20
- background: lighten($dark-gray, 50);
21
- border-radius: 50%;
22
- fill: white;
23
- padding: .15rem;
24
- }
25
-
26
- .progress{
27
- max-width: 85%;
28
- margin-bottom: 0;
29
- }
30
-
31
- .progress-figure{
32
- font-size: 2.5rem;
33
- font-weight: 300;
34
- color: lighten($dark-gray, 50);
35
-
36
- @include breakpoint(medium){
37
- font-size: 4rem;
38
- }
39
- }
40
- }
41
- }
42
-
43
- .scope-filters{
44
- div{
45
- color: lighten($dark-gray, 50);
46
- margin-bottom: .15rem;
47
- }
48
-
49
- span{
50
- margin-right: .5rem;
51
- }
52
-
53
- ul{
54
- display: inline;
55
- }
56
-
57
- li.active{
58
- background-color: $medium-gray;
59
- }
60
- }
61
-
62
- .description{
63
- margin-bottom: 1rem;
64
- }
65
-
66
- .title-action{
67
- margin-bottom: .5rem;
68
- }
69
- }
70
-
71
- .result-view{
72
- .title{
73
- display: flex;
74
- align-items: flex-start;
75
- margin-bottom: 1rem;
76
- flex-direction: column;
77
-
78
- .icon{
79
- fill: $secondary;
80
- min-width: 1.5rem;
81
- min-height: 1.5rem;
82
- margin-bottom: .5rem;
83
-
84
- @include breakpoint(medium){
85
- margin-right: .75rem;
86
- margin-top: .5rem;
87
- }
88
- }
89
-
90
- @include breakpoint(medium){
91
- flex-direction: row;
92
- }
93
- }
94
-
95
- .progress-level{
96
- background: $white;
97
- border-radius: 4px;
98
- padding: 1.5rem;
99
- border: 1px solid $medium-gray;
100
-
101
- .progress-label{
102
- display: flex;
103
- justify-content: space-between;
104
- align-items: flex-end;
105
- margin-bottom: .5rem;
106
-
107
- .progress-text{
108
- color: lighten($dark-gray, 30);
109
- }
110
-
111
- .progress-figure{
112
- line-height: 1;
113
- font-size: 2.25rem;
114
- font-weight: 600;
115
- }
116
- }
117
- }
118
-
119
- .result-description div{
120
- margin-bottom: 1rem;
121
- }
122
-
123
- .result-meta{
124
- margin-bottom: .5rem;
125
- font-size: 1.25rem;
126
-
127
- .result-meta--label{
128
- font-weight: 600;
129
- color: lighten($dark-gray, 30);
130
- }
131
-
132
- .result-meta--data{
133
- font-size: 1.15rem;
134
- }
135
- }
136
-
137
- hr{
138
- width: 100%;
139
- margin: 0 0 3rem;
140
- }
141
-
142
- .timeline{
143
- .timeline__info{
144
- background-color: transparent;
145
- border: none;
146
- }
147
- }
148
- }
@@ -1 +0,0 @@
1
- <%= cell "decidim/proposals/proposals_picker", current_component %>
@@ -1,2 +0,0 @@
1
- <% content_for(:title, translated_attribute(model.title)) %>
2
- <%== translated_attribute model.description %>
@@ -1,23 +0,0 @@
1
- <div class="intro section">
2
- <div class="row">
3
- <div class="small-12 medium-7 columns">
4
- <%== translated_attribute component_settings.intro %>
5
- </div>
6
-
7
- <% if component_settings.display_progress_enabled? && progress_calculator(current_scope, nil).present? %>
8
- <div class="small-12 medium-5 columns">
9
- <div class="progress-level">
10
- <p><%= t(".global_status") %></p>
11
-
12
- <div class="progress">
13
- <div class="progress-meter" style="width:<%= progress_calculator(current_scope, nil) %>%"></div>
14
- </div>
15
-
16
- <div class="progress-figure">
17
- <%= display_percentage progress_calculator(current_scope, nil) %>
18
- </div>
19
- </div>
20
- </div>
21
- <% end %>
22
- </div>
23
- </div>
@@ -1,47 +0,0 @@
1
- <div class="title-action">
2
- <h2 id="results-count" class="title-action__title section-heading">
3
- <%= heading_leaf_level_results(total_count) %>
4
- </h2>
5
- </div>
6
-
7
- <div class="row">
8
- <div id="results" class="columns">
9
- <div class="card card--action card--list">
10
- <% results.each do |result| %>
11
- <div class="card--list__item">
12
- <%= icon "actions", class: "card--list__icon", role: "img", "aria-hidden": true, remove_icon_class: true %>
13
-
14
- <%= link_to result_path(result), class: "card--list__text card__link card__link--block" do %>
15
- <h4 class="card--list__heading">
16
- <%= translated_attribute(result.title) %>
17
- </h4>
18
-
19
- <div class="text-small card--meta">
20
- <% if result.start_date %>
21
- <strong><%= t("models.result.fields.start_date", scope: "decidim.accountability") %></strong>
22
- <span><%= l result.start_date, format: :decidim_short %></span>
23
- <% end %>
24
-
25
- <% if result.end_date %>
26
- <strong><%= t("models.result.fields.end_date", scope: "decidim.accountability") %></strong>
27
- <span><%= l result.end_date, format: :decidim_short %></span>
28
- <% end %>
29
-
30
- <% if result.status %>
31
- <strong><%= t("models.result.fields.status", scope: "decidim.accountability") %></strong>
32
- <span><%= translated_attribute(result.status.name) %></span>
33
- <% end %>
34
- </div>
35
- <% end %>
36
-
37
- <% if component_settings.display_progress_enabled? && result.progress.present? %>
38
- <div class="card--list__data">
39
- <span class="card--list__data__number"><%= display_percentage result.progress %></span>
40
- </div>
41
- <% end %>
42
- </div>
43
- <% end %>
44
- </div>
45
- <%= decidim_paginate results, order_start_time: params[:order_start_time], with_scope: params.dig(:filter, :with_scope) %>
46
- </div>
47
- </div>
@@ -1,32 +0,0 @@
1
- <div class="title-action">
2
- <h2 id="results-count" class="title-action__title section-heading">
3
- <%= heading_parent_level_results(total_count) %>
4
- </h2>
5
- </div>
6
-
7
- <div class="row">
8
- <div id="results" class="columns">
9
- <div class="card card--action card--list">
10
- <% results.each do |result| %>
11
- <div class="card--list__item">
12
- <%= icon "proposals", class: "card--list__icon", remove_icon_class: true %>
13
-
14
- <%= link_to result, class: "card--list__text card__link card__link--block" do %>
15
- <h3 class="card--list__heading">
16
- <%= translated_attribute result.title %>
17
- </h3>
18
-
19
- <span class="text-small"><%= heading_leaf_level_results(result.children.count) %></span>
20
- <% end %>
21
-
22
- <% if component_settings.display_progress_enabled? && result.progress.present? %>
23
- <div class="card--list__data">
24
- <span class="card--list__data__number"><%= display_percentage result.progress %></span>
25
- </div>
26
- <% end %>
27
- </div>
28
- <% end %>
29
- </div>
30
- <%= decidim_paginate results, order_start_time: params[:order_start_time], with_scope: params.dig(:filter, :with_scope) %>
31
- </div>
32
- </div>
@@ -1,81 +0,0 @@
1
- <div class="row accountability result-view">
2
- <div class="small-12 columns">
3
- <%= render partial: "decidim/accountability/results/nav_breadcrumb", locals: { category: result.parent.try(:category) || result.category } %>
4
- </div>
5
- <div class="small-12 columns">
6
- <div class="title">
7
- <%= icon("proposals", class: "icon", aria_label: t("models.result.fields.title", scope: "decidim.accountability"), role: "img") %>
8
- <h2 class="heading2"><%= translated_attribute result.title %></h2>
9
- </div>
10
-
11
- <div class="row">
12
- <% if component_settings.display_progress_enabled? && result.progress.present? %>
13
- <div class="columns section mediumlarge-3 mediumlarge-push-9">
14
- <div class="progress-level">
15
- <div class="progress-label">
16
- <span class="progress-text"><%= t("models.result.fields.progress", scope: "decidim.accountability") %>:</span>
17
- <span class="progress-figure">
18
- <%= display_percentage result.progress %>
19
- </span>
20
- </div>
21
-
22
- <div class="progress">
23
- <div class="progress-meter" style="width:<%= result.progress %>%"></div>
24
- </div>
25
- </div>
26
- </div>
27
- <% end %>
28
-
29
- <div class="columns mediumlarge-9 <%= component_settings.display_progress_enabled? && result.progress.present? ? "mediumlarge-pull-3" : "" %>">
30
- <div class="section">
31
- <div class="result-meta row">
32
- <% if result.start_date %>
33
- <div class="result-meta--label medium-2 columns"><%= t("models.result.fields.start_date", scope: "decidim.accountability") %></div>
34
- <div class="result-meta--data medium-10 columns"><%= l result.start_date, format: :decidim_short %></div>
35
- <% end %>
36
- </div>
37
-
38
- <div class="result-meta row">
39
- <% if result.end_date %>
40
- <div class="result-meta--label medium-2 columns"><%= t("models.result.fields.end_date", scope: "decidim.accountability") %></div>
41
- <div class="result-meta--data medium-10 columns"><%= l result.end_date, format: :decidim_short %></div>
42
- <% end %>
43
- </div>
44
-
45
- <div class="result-meta row">
46
- <% if result.status %>
47
- <div class="result-meta--label medium-2 columns"><%= t("models.result.fields.status", scope: "decidim.accountability") %></div>
48
- <div class="result-meta--data medium-10 columns"><%= translated_attribute(result.status.name) %></div>
49
- <% end %>
50
- </div>
51
-
52
- <div class="result-meta row">
53
- <% if result.status && translated_attribute(result.status.description).present? %>
54
- <div class="result-meta--label medium-2 columns"><%= t("models.status.fields.description", scope: "decidim.accountability") %></div>
55
- <div class="result-meta--data medium-10 columns"><%= translated_attribute(result.status.description) %></div>
56
- <% end %>
57
- </div>
58
- </div>
59
- </div>
60
-
61
- <hr>
62
-
63
- <div class="small-12 mediumlarge-8 large-9 columns">
64
- <div class="section result-description">
65
- <%== translated_attribute result.description %>
66
- <%= cell "decidim/tags", result, context: { extra_classes: ["tags--result"] } %>
67
- </div>
68
- </div>
69
-
70
- <%= render partial: "stats_box" %>
71
-
72
- <%= render partial: "timeline", locals: { result: result } if result.timeline_entries.any? %>
73
-
74
- <%= attachments_for result %>
75
- </div>
76
- </div>
77
-
78
- <%= render partial: "stats" %>
79
- </div>
80
-
81
- <%= comments_for result %>
@@ -1,30 +0,0 @@
1
- <div class="row accountability result-view">
2
- <div class="small-12 columns">
3
- <%= render partial: "decidim/accountability/results/nav_breadcrumb", locals: { category: result.try(:category) } %>
4
- </div>
5
-
6
- <div class="small-12 columns">
7
- <h2 class="heading2"><%= translated_attribute result.title %></h2>
8
-
9
- <div class="row">
10
- <div class="mediumlarge-8 columns">
11
- <div class="section">
12
- <div class="description">
13
- <%== translated_attribute result.description %>
14
- </div>
15
- <%= cell "decidim/tags", result, context: { extra_classes: ["tags--result"] } %>
16
-
17
- <%= render partial: "results_leaf", locals: { results: result.children.page(1).per(result.children_count), total_count: result.children_count } %>
18
-
19
- <%= attachments_for result %>
20
- </div>
21
- </div>
22
- <%= render partial: "stats_box" %>
23
- </div>
24
-
25
- </div>
26
-
27
- <%= render partial: "stats" %>
28
-
29
- <%= comments_for result %>
30
- </div>
@@ -1,15 +0,0 @@
1
- <div class="small-12 columns section">
2
- <div class="row">
3
- <div class="small-12 medium-9 columns">
4
- <%= linked_resources_for result, :proposals, "included_proposals" %>
5
- </div>
6
-
7
- <div class="small-12 medium-9 columns">
8
- <%= linked_resources_for result, :projects, "included_projects" %>
9
- </div>
10
-
11
- <div class="small-12 medium-9 columns end">
12
- <%= linked_resources_for result, :meetings, "meetings_through_proposals" %>
13
- </div>
14
- </div>
15
- </div>
@@ -1,30 +0,0 @@
1
- <div class="small-12 columns">
2
- <div class="section">
3
- <h4 class="section-heading"><%= t(".title") %></h4>
4
- <ol class="timeline">
5
- <% result.timeline_entries.each_with_index do |timeline_entry, i| %>
6
- <li class="timeline__item ">
7
- <div class="timeline__phase">
8
- <span class="timeline__phase__number"><%= i + 1 %></span>
9
- </div>
10
- <div class="timeline__info">
11
- <div class="timeline__description">
12
- <span class="timeline__date text-small">
13
- <%= l timeline_entry.entry_date, format: :decidim_short %>
14
- </span>
15
- <h4 class="timeline__title">
16
- <%= translated_attribute timeline_entry.title %>
17
- </h4>
18
-
19
- <% if translated_attribute(timeline_entry.description).present? %>
20
- <div class="timeline__description__description">
21
- <%== translated_attribute timeline_entry.description %>
22
- </div>
23
- <% end %>
24
- </div>
25
- </div>
26
- </li>
27
- <% end %>
28
- </ol>
29
- </div>
30
- </div>
@@ -1,12 +0,0 @@
1
- <div class="row accountability">
2
- <div class="small-12 columns">
3
- <%= render partial: "decidim/accountability/results/nav_breadcrumb", locals: { category: versioned_resource.parent.try(:category) || versioned_resource.try(:category) } %>
4
- </div>
5
-
6
- <%= cell(
7
- "decidim/versions_list",
8
- versioned_resource,
9
- version_path: proc { |version_index| url_for(action: :show, id: version_index) },
10
- i18n_scope: "decidim.accountability.results.show.stats"
11
- ) %>
12
- </div>
@@ -1,3 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # Empty line for playing nice with tpope/vim-rails