Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch translation editor buttons colors #13084

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions weblate/templates/translate.html
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ <h4 class="panel-title">
</div>
{% endif %}
{% endwith %}
<button class="btn btn-primary" type="submit" name="save"
<button class="btn btn-warning" type="submit" name="save"
{% if locked %}
disabled="disabled"
{% elif not user_can_translate and not user_can_edit_flags %}
Expand All @@ -212,7 +212,7 @@ <h4 class="panel-title">
{% endif %}
>{% trans "Save and continue" %}</button>

<button class="btn btn-warning btn-spaced" type="submit" name="save-stay"
<button class="btn btn-primary btn-spaced" type="submit" name="save-stay"
{% if locked %}
disabled="disabled"
{% elif not user_can_translate and not user_can_edit_flags %}
Expand All @@ -223,7 +223,7 @@ <h4 class="panel-title">
>{% trans "Save and stay" %}</button>

{% if unit.translation.enable_suggestions %}
<button class="btn btn-warning btn-spaced" type="submit" name="suggest"
<button class="btn btn-primary btn-spaced" type="submit" name="suggest"
{% if project_locked or not user_can_suggest or unit.readonly %}disabled="disabled"{% endif %}
{% if not user_can_suggest %}
title="{% trans "Insufficient privileges for adding suggestions." %}"
Expand All @@ -234,7 +234,7 @@ <h4 class="panel-title">
{% endif %}
>{% icon "suggest.svg" %} {% trans "Suggest" %}</button>
{% endif %}
<a class="btn btn-warning btn-spaced skip" href="{{ next_unit_url }}" rel="next">{% if LANGUAGE_BIDI %}{% icon "rewind.svg" %}{% else %}{% icon "fast-forward.svg" %}{% endif %} {% trans "Skip" %}</a>
<a class="btn btn-primary btn-spaced skip" href="{{ next_unit_url }}" rel="next">{% if LANGUAGE_BIDI %}{% icon "rewind.svg" %}{% else %}{% icon "fast-forward.svg" %}{% endif %} {% trans "Skip" %}</a>
</div>
</div>
</div>
Expand Down
Loading