mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-02 05:26:45 +00:00
Small UI improvements to the settings interface (#3223)
This commit is contained in:
parent
eeff6074e7
commit
eb255e84d8
@ -154,7 +154,9 @@
|
|||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>{% trans 'You currently have no social network accounts connected to this account.' %}</p>
|
<div class='alert alert-block alert-warning'>
|
||||||
|
{% trans 'There are no social network accounts connected to this account.' %}
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -198,9 +200,9 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<p><strong>{% trans 'Warning:'%}</strong>
|
<div class='alert alert-block alert-warning'>
|
||||||
{% trans "You currently do not have any factors set up." %}
|
{% trans "Multifactor authentication is not configured for your account" %}
|
||||||
</p>
|
</div>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
@ -224,7 +226,7 @@
|
|||||||
<form method="post" action="{% url 'session_delete_other' %}">
|
<form method="post" action="{% url 'session_delete_other' %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<button type="submit" class="btn btn-sm btn-default btn-danger" title='{% trans "Log out active sessions (except this one)" %}'>
|
<button type="submit" class="btn btn-sm btn-default btn-danger" title='{% trans "Log out active sessions (except this one)" %}'>
|
||||||
{% trans "Log Out Active Sessions" %}
|
<span class='fas fa-sign-out-alt'></span> {% trans "Log Out Active Sessions" %}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<input name='next' type='hidden' value='{% url "settings" %}'>
|
<input name='next' type='hidden' value='{% url "settings" %}'>
|
||||||
<label for='theme' class=' requiredField'>
|
<label for='theme' class=' requiredField'>
|
||||||
{% trans "Select theme" %}
|
<h6>{% trans "Select theme" %}</h6>
|
||||||
</label>
|
</label>
|
||||||
<div class='form-group input-group mb-3'>
|
<div class='form-group input-group mb-3'>
|
||||||
<select id='theme' name='theme' class='select form-control'>
|
<select id='theme' name='theme' class='select form-control'>
|
||||||
@ -62,7 +62,7 @@
|
|||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<input name="next" type="hidden" value="{% url 'settings' %}">
|
<input name="next" type="hidden" value="{% url 'settings' %}">
|
||||||
<label for='language' class=' requiredField'>
|
<label for='language' class=' requiredField'>
|
||||||
{% trans "Select language" %}
|
<h6>{% trans "Select language" %}</h6>
|
||||||
</label>
|
</label>
|
||||||
<div class='form-group input-group mb-3'>
|
<div class='form-group input-group mb-3'>
|
||||||
<select name="language" class="select form-control w-25">
|
<select name="language" class="select form-control w-25">
|
||||||
@ -100,8 +100,11 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<h4>{% trans "Help the translation efforts!" %}</h4>
|
<div class='alert alert-block alert-success'>
|
||||||
<p>{% blocktrans with link="https://crowdin.com/project/inventree" %}Native language translation of the web application is <a href="{{link}}">community contributed via crowdin</a>. Contributions are welcomed and encouraged.{% endblocktrans %}</p>
|
<h5>{% trans "Help the translation efforts!" %}</h5>
|
||||||
|
<p>{% trans "Native language translation of the web application is community contributed via crowdin. Contributions are welcomed and encouraged." %}</p>
|
||||||
|
<p><a href="https://crowdin.com/project/inventree">{% trans "InvenTree Translation Project" %}</a></p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user