Add style
- Inverted h2 with h3 - Add strong tag
This commit is contained in:
@@ -87,6 +87,7 @@
|
|||||||
.action-content {
|
.action-content {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-left: $line-height / 4;
|
margin-left: $line-height / 4;
|
||||||
|
max-width: 90%;
|
||||||
|
|
||||||
h4,
|
h4,
|
||||||
p {
|
p {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<h2 class="title"><%= t("dashboard.recommended_actions.#{status}_title") %></h2>
|
<h3 class="title"><%= t("dashboard.recommended_actions.#{status}_title") %></h3>
|
||||||
<% if actions.any? %>
|
<% if actions.any? %>
|
||||||
<div id="proposed_actions_<%= status %>">
|
<div id="proposed_actions_<%= status %>">
|
||||||
<% actions.first(4).each do |proposed_action| %>
|
<% actions.first(4).each do |proposed_action| %>
|
||||||
@@ -23,8 +23,8 @@
|
|||||||
<div id="last_proposed_actions_<%= status %>" class="hide" data-toggler=".hide">
|
<div id="last_proposed_actions_<%= status %>" class="hide" data-toggler=".hide">
|
||||||
<%= render partial: 'proposed_action', collection: actions - actions.first(4) %>
|
<%= render partial: 'proposed_action', collection: actions - actions.first(4) %>
|
||||||
<div class="margin small">
|
<div class="margin small">
|
||||||
<%= t("dashboard.recommended_actions.hide_proposed_actions") %>
|
|
||||||
<a data-toggle="last_proposed_actions_<%= status %> proposed_actions_<%= status %>_link">
|
<a data-toggle="last_proposed_actions_<%= status %> proposed_actions_<%= status %>_link">
|
||||||
|
<strong><%= t("dashboard.recommended_actions.hide_proposed_actions") %></strong>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<h3 class="title"><%= t("dashboard.recommended_actions.title") %></h3>
|
<h2 class="title"><%= t("dashboard.recommended_actions.title") %></h2>
|
||||||
|
|
||||||
<%= render 'recommended_actions_by_status', status: 'pending', actions: @pending_actions, toggle: false %>
|
<%= render 'recommended_actions_by_status', status: 'pending', actions: @pending_actions, toggle: false %>
|
||||||
<%= render 'recommended_actions_by_status', status: 'done', actions: @done_actions, toggle: false %>
|
<%= render 'recommended_actions_by_status', status: 'done', actions: @done_actions, toggle: false %>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<h3 class="title"><%= t("dashboard.recommended_actions.title") %></h3>
|
<h2 class="title"><%= t("dashboard.recommended_actions.title") %></h3>
|
||||||
|
|
||||||
<%= render 'recommended_actions_by_status', status: 'pending', actions: @pending_actions, toggle: true %>
|
<%= render 'recommended_actions_by_status', status: 'pending', actions: @pending_actions, toggle: true %>
|
||||||
<%= render 'recommended_actions_by_status', status: 'done', actions: @done_actions, toggle: true %>
|
<%= render 'recommended_actions_by_status', status: 'done', actions: @done_actions, toggle: true %>
|
||||||
|
|||||||
Reference in New Issue
Block a user