Merge branch 'feature/localization' of mowoe.com:reverend/lostplaces-backend into feature/localization

This commit is contained in:
reverend 2020-10-01 23:11:27 +02:00
commit dabec5185f
9 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,5 @@
{% load i18n %}
<div class="LP-TagList"> <div class="LP-TagList">
<ul class="LP-TagList__List"> <ul class="LP-TagList__List">
{% for tag in config.tagged_item.tags.all %} {% for tag in config.tagged_item.tags.all %}
@ -25,11 +27,11 @@
<form id="id_tag_submit_form" class="LP-Form LP-Form--inline LP-Form--tagging" method="POST" action="{% url config.submit_url_name tagged_id=config.tagged_item.id%}"> <form id="id_tag_submit_form" class="LP-Form LP-Form--inline LP-Form--tagging" method="POST" action="{% url config.submit_url_name tagged_id=config.tagged_item.id%}">
<fieldset class="LP-Form__Fieldset"> <fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">Tags hinzufügen</legend> <legend class="LP-Form__Legend">{% translate 'Add tags' %}</legend>
{% csrf_token %} {% csrf_token %}
<div class="LP-Form__Composition LP-Form__Composition--breakable"> <div class="LP-Form__Composition LP-Form__Composition--breakable">
<div class="LP-Form__Field LP-Form__Button LP-Input LP-Input--tagging"> <div class="LP-Form__Field LP-Form__Button LP-Input LP-Input--tagging">
<button id="id_tag_submit_button" class="LP-Button"> Tags hinzufügen</button> <button id="id_tag_submit_button" class="LP-Button">{% translate 'Add tags' %}</button>
</div> </div>
<div class="LP-Form__Field"> <div class="LP-Form__Field">
{% include 'partials/form/inputField.html' with field=config.submit_form.tag_list classes="LP-Input--tagging" %} {% include 'partials/form/inputField.html' with field=config.submit_form.tag_list classes="LP-Input--tagging" %}

View File

@ -1,3 +1,5 @@
{% load i18n %}
<header class="LP-TextSection__Headline"> <header class="LP-TextSection__Headline">
<h1 class="LP-Headline">{% translate 'Start' %}</h1> <h1 class="LP-Headline">{% translate 'Start' %}</h1>
</header> </header>

View File

@ -1,3 +1,4 @@
{% load i18n %}
{% extends 'global.html'%} {% extends 'global.html'%}
{% block title %}{% translate 'Submit a photo album' %}{% endblock %} {% block title %}{% translate 'Submit a photo album' %}{% endblock %}

View File

@ -1,5 +1,6 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
# {% block title %}{% translate 'Create Place' %}{% endblock %} # {% block title %}{% translate 'Create Place' %}{% endblock %}

View File

@ -1,5 +1,6 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
{% block title %}{% tranlate 'Lost Place Deletion' %}{% endblock %} {% block title %}{% tranlate 'Lost Place Deletion' %}{% endblock %}

View File

@ -1,6 +1,7 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
{% load thumbnail %} {% load thumbnail %}
{% load svg_icon %} {% load svg_icon %}

View File

@ -1,5 +1,6 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
{% block additional_head %} {% block additional_head %}
<link rel="stylesheet" href="{% static 'maps/ol.css' %}" type="text/css"> <link rel="stylesheet" href="{% static 'maps/ol.css' %}" type="text/css">

View File

@ -1,5 +1,6 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
# {% block title %}{% translate 'Update place' %}{% endblock %} # {% block title %}{% translate 'Update place' %}{% endblock %}

View File

@ -1,3 +1,4 @@
{% load i18n %}
{% extends 'global.html'%} {% extends 'global.html'%}
{% block maincontent %} {% block maincontent %}