grenoble-metropole-2019: user dashboard items are links (#26506)
This commit is contained in:
parent
83beca17ec
commit
06ad57d3df
|
@ -596,13 +596,15 @@ div.configjsoncell.user {
|
|||
div.user-infos {
|
||||
@include vendor-prefix(flex-grow, 2);
|
||||
}
|
||||
div.user-dashboard-item {
|
||||
a.user-dashboard-item {
|
||||
background: $primary-color;
|
||||
font-weight: bold;
|
||||
font-size: 125%;
|
||||
font-size: 110%;
|
||||
text-decoration: none;
|
||||
padding: 10px 30px 10px 55px;
|
||||
position: relative;
|
||||
margin: 0 15px 0 20px;
|
||||
display: inline-block;
|
||||
div.dashboard-item-label, div.dashboard-item-value {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="user-dashboard-item {{ item_type }}">
|
||||
<a class="user-dashboard-item {{ item_type }}" href="{{ url }}">
|
||||
<div class="dashboard-item-label">{{ label }}</div>
|
||||
<div class="dashboard-item-value">{{ value }}</div>
|
||||
</div>
|
||||
</a>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{% include "combo/json/user-dashboard-item.html" with label="En cours" value=json.data|length item_type="demands" %}
|
||||
{% include "combo/json/user-dashboard-item.html" with label="En cours" value=json.data|length item_type="demands" url=user_demands_page_url %}
|
||||
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
{% include "combo/json/user-dashboard-item.html" with label="Brouillons" value=json.data|length item_type="drafts" %}
|
||||
{% include "combo/json/user-dashboard-item.html" with label="Brouillons" value=json.data|length item_type="drafts" url=user_drafts_page_url %}
|
||||
|
|
Loading…
Reference in New Issue