feat(home): replace history shortcut with asset search in viewer action bar
This commit is contained in:
parent
875efc67f4
commit
dd12e2fde1
7 changed files with 16 additions and 4 deletions
Binary file not shown.
|
|
@ -1191,3 +1191,7 @@ msgstr "All interventions"
|
|||
msgid "Vue détaillée"
|
||||
msgstr "Detailed view"
|
||||
|
||||
msgid "Rechercher un asset"
|
||||
msgstr "Search for an asset"
|
||||
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1200,3 +1200,7 @@ msgstr "Toutes les interventions"
|
|||
msgid "Vue détaillée"
|
||||
msgstr "Vue détaillée"
|
||||
|
||||
msgid "Rechercher un asset"
|
||||
msgstr "Rechercher un asset"
|
||||
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1197,3 +1197,7 @@ msgstr "Alle interventies"
|
|||
msgid "Vue détaillée"
|
||||
msgstr "Gedetailleerde weergave"
|
||||
|
||||
msgid "Rechercher un asset"
|
||||
msgstr "Een asset zoeken"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -54,14 +54,14 @@
|
|||
<span class="quick-action-icon"><i class="bi bi-search"></i></span>
|
||||
<span class="quick-action-text">{% translate "Rechercher une intervention" %}</span>
|
||||
</a>
|
||||
<a href="{% url 'assets:index' %}" class="quick-action-btn">
|
||||
<span class="quick-action-icon"><i class="bi bi-layers"></i></span>
|
||||
<span class="quick-action-text">{% translate "Rechercher un asset" %}</span>
|
||||
</a>
|
||||
<a href="{% url 'interventions:interventions_calendar' %}" class="quick-action-btn">
|
||||
<span class="quick-action-icon"><i class="bi bi-calendar3"></i></span>
|
||||
<span class="quick-action-text">{% translate "Calendrier" %}</span>
|
||||
</a>
|
||||
<a href="#widget-user-history" class="quick-action-btn" onclick="const el=document.getElementById('widget-user-history'); if(el){ el.scrollIntoView({behavior:'smooth'}); el.style.boxShadow='0 0 0 3px rgba(13, 110, 253, 0.4)'; setTimeout(()=>el.style.boxShadow='', 1800); return false; }" data-bs-toggle="modal" data-bs-target="#userHistoryModal">
|
||||
<span class="quick-action-icon"><i class="bi bi-clock-history"></i></span>
|
||||
<span class="quick-action-text">{% translate "Mon historique" %}</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if user.config|has_any_role:"observer,manager,controller,admin,external_manager,top_manager" %}
|
||||
<a href="{% url 'observations:observation_add' %}" class="quick-action-btn quick-action-obs">
|
||||
|
|
|
|||
Loading…
Reference in a new issue