fix(qa): resolver diagnosticos estaticos, sincronizacion moodle y actualizar docs v3.6.4
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "frontend",
|
||||
"version": "3.6.3",
|
||||
"version": "3.6.4",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -51,32 +51,7 @@
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<!-- Role Perspective Switcher for Admins & Managers -->
|
||||
{% if user.is_admin() or user.can_manage() %}
|
||||
<div class="d-flex flex-column align-items-end">
|
||||
<small class="text-muted fw-semibold mb-1" style="font-size: 0.72rem; letter-spacing: 0.3px;">
|
||||
<i class="bi bi-person-bounding-box me-1"></i>VER PANEL COMO ROL:
|
||||
</small>
|
||||
<div class="btn-group role-view-selector bg-body-tertiary p-1 rounded-pill border" role="group">
|
||||
<a href="/dashboard?role=admin"
|
||||
class="btn btn-sm {% if not role or role == 'admin' %}btn-primary active{% else %}btn-outline-secondary border-0{% endif %}">
|
||||
<i class="bi bi-shield-check me-1"></i>Admin
|
||||
</a>
|
||||
<a href="/dashboard?role=bedelia"
|
||||
class="btn btn-sm {% if role == 'bedelia' %}btn-warning active text-dark{% else %}btn-outline-secondary border-0{% endif %}">
|
||||
<i class="bi bi-building-gear me-1"></i>Bedelía
|
||||
</a>
|
||||
<a href="/dashboard?role=docente"
|
||||
class="btn btn-sm {% if role == 'docente' %}btn-info active text-white{% else %}btn-outline-secondary border-0{% endif %}">
|
||||
<i class="bi bi-person-video3 me-1"></i>Docente
|
||||
</a>
|
||||
<a href="/dashboard?role=alumno"
|
||||
class="btn btn-sm {% if role == 'alumno' %}btn-success active text-white{% else %}btn-outline-secondary border-0{% endif %}">
|
||||
<i class="bi bi-mortarboard me-1"></i>Alumno
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user