Diverse Code Cleanups
*Code wurde PEP-8 gerecht formatiert * Kleine Fehler die der PyCharm Inspector beanstandet wurden korrigiert
This commit is contained in:
committed by
Christian Berg
parent
f34281089d
commit
86a0db050d
@@ -1,5 +1,14 @@
|
||||
{% load i18n %}
|
||||
<!DOCTYPE HTML>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>>
|
||||
<html>
|
||||
<head>
|
||||
<title>Kasu - {% block title %}{{ current_top_page.menu_name|default:"traditionelle asiatische Spielkultur"}}{% endblock %}</title>
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
</label>
|
||||
{{form.comment}}
|
||||
<p class="buttonbar">
|
||||
<button type="submit" name="preview"><img src="{{ STATIC_URL }}icons/comment_edit.png" alt="{% trans "Preview" %}" /> {% trans "Preview" %}</button>
|
||||
<button type="submit" name="submit"><img src="{{ STATIC_URL }}icons/comment_add.png" alt="{% trans "Post" %}" /> {% trans "Post" %}</button>
|
||||
<button type="submit" name="preview"><img src="{{ STATIC_URL }}icons/comment_edit.png" alt="{% trans 'Preview' %}" /> {% trans "Preview" %}</button>
|
||||
<button type="submit" name="submit"><img src="{{ STATIC_URL }}icons/comment_add.png" alt="{% trans 'Post' %}" /> {% trans "Post" %}</button>
|
||||
</p>
|
||||
{% else %}
|
||||
<label class="field_name" for="id_comment">
|
||||
|
||||
@@ -27,7 +27,7 @@ you can fill out our registration form.</p>
|
||||
{% endblocktrans %}
|
||||
<p class="more_link">
|
||||
<a href="{% url 'membership-register' %}" class="button">
|
||||
<img src="{{STATIC_URL}}icons/user_add.png" alt="{%trans "register"%}"/>
|
||||
<img src="{{STATIC_URL}}icons/user_add.png" alt="{%trans 'register' %}"/>
|
||||
{%trans "register"%}</a></p>
|
||||
</div>
|
||||
|
||||
@@ -44,7 +44,7 @@ you can fill out our registration form.</p>
|
||||
<p><a href="{% url 'password_reset' %}">{% trans 'Forgot your Password?'%}</a></p>
|
||||
<div class="buttonbar">
|
||||
<button type="submit">
|
||||
<img src="{{STATIC_URL}}icons/lock_break.png" alt="{% trans "Login" %}" /> {% trans "Login" %}
|
||||
<img src="{{STATIC_URL}}icons/lock_break.png" alt="{% trans 'Login' %}" /> {% trans 'Login' %}
|
||||
</button></div>
|
||||
</fieldset>
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
{% include 'form.html' %}
|
||||
<div class="buttonbar">
|
||||
<button type="submit">
|
||||
<img src="{{STATIC_URL}}icons/lock_break.png" alt="{% trans "Login" %}" /> {% trans "Change Password" %}
|
||||
<img src="{{STATIC_URL}}icons/lock_break.png" alt="{% trans 'Login' %}" /> {% trans "Change Password" %}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user