Skip to content

Commit

Permalink
Add CSS style to fix #475
Browse files Browse the repository at this point in the history
Added CSS inside head

Moved CSS style to template

Moved changes and used css override

Added double curly brackets for template rendering

put the CSS override in the top template, quality_checks.html

Removed excess brackets

Clean up ignored files

Restored deleted file

Restored readme
  • Loading branch information
Benjamin M authored and benjamimo1 committed Jul 1, 2020
1 parent 1224d34 commit 9908fff
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions pootle/templates/help/quality_checks.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,34 @@

{% block header_block %}{% endblock %}

{% block css_overrides %}
<style>
blockquote {
margin: 1em 3em;
font-size: 90%;
color: #333;
}
</style>
{% endblock css_overrides %}

{% block content %}
<div class="staticpage checks-descriptions" dir="ltr">
<h1 class="title">Quality Checks</h1>

<p>Zing has an ability to check for common translation mistakes. Once you submit a translation, it will compare its certain features with the original string and identify potential problems. Сhecks are displayed in the upper right corner, just above the submit button. Once there are checks in red, you will stay on the same unit, until you have each check resolved or muted. Note that you should only mute checks if you know what you're doing. Muted checks will be reviewed periodically by the managers.</p>
<p>Zing has an ability to check for common translation mistakes. Once you submit a translation, it will compare its
certain features with the original string and identify potential problems. Сhecks are displayed in the upper right
corner, just above the submit button. Once there are checks in red, you will stay on the same unit, until you have
each check resolved or muted. Note that you should only mute checks if you know what you're doing. Muted checks will
be reviewed periodically by the managers.</p>

{% if settings.CAN_CONTACT %}
<p>If you are not sure what a particular error means and how to fix it properly, use <i>"Report a problem with this string"</i> link at the top of the unit. The managers will try to assist you as soon as possible.</p>
<p>If you are not sure what a particular error means and how to fix it properly, use <i>"Report a problem with this
string"</i> link at the top of the unit. The managers will try to assist you as soon as possible.</p>
{% endif %}

<p>Below is the description of each quality check.</p>

{% include "help/_pootle_quality_checks.html" %}

</div>
{% endblock content %}
{% endblock content %}

0 comments on commit 9908fff

Please sign in to comment.