login bereich
@@ -79,36 +79,38 @@
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% if notification %}
|
||||
<a href="#" class="header__button header__button--notification data_id_1">
|
||||
{% trans 'Aktuell' %}
|
||||
{% block header_items %}
|
||||
{% if notification %}
|
||||
<a href="#" class="header__button header__button--notification data_id_1">
|
||||
{% trans 'Aktuell' %}
|
||||
<span class="header__button__icon">
|
||||
{% include 'project/assets/bell.svg' %}
|
||||
</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<a href="#" class="header__button header__button--search data_id_2">
|
||||
{% trans 'Suche' %}
|
||||
<span class="header__button__icon">
|
||||
{% include 'project/assets/bell.svg' %}
|
||||
{% include 'project/assets/search.svg' %}
|
||||
</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<a href="#" class="header__button header__button--search data_id_2">
|
||||
{% trans 'Suche' %}
|
||||
<span class="header__button__icon">
|
||||
{% include 'project/assets/search.svg' %}
|
||||
</span>
|
||||
</a>
|
||||
{% url 'search' as search_url %}
|
||||
{% with request.get_full_path as current_url %}
|
||||
<a href="{% if search_url in current_url %}/{{ LANGUAGE_CODE }}/{% else %}{{ current_url }}{% endif %}"
|
||||
class="event header__button header__button--navigation data_id_3">
|
||||
{% trans 'Menü' %}
|
||||
<span class="header__button__icon">
|
||||
{% include 'project/assets/menu.svg' %}
|
||||
</span>
|
||||
</a>
|
||||
{% endwith %}
|
||||
|
||||
{% url 'search' as search_url %}
|
||||
{% with request.get_full_path as current_url %}
|
||||
<a href="{% if search_url in current_url %}/{{ LANGUAGE_CODE }}/{% else %}{{ current_url }}{% endif %}"
|
||||
class="event header__button header__button--navigation data_id_3">
|
||||
{% trans 'Menü' %}
|
||||
<span class="header__button__icon">
|
||||
{% include 'project/assets/menu.svg' %}
|
||||
</span>
|
||||
</a>
|
||||
{% endwith %}
|
||||
|
||||
<div class="header__navigation">
|
||||
{% include 'project/includes/meta_navigation.html' %}
|
||||
</div>
|
||||
<div class="header__navigation">
|
||||
{% include 'project/includes/meta_navigation.html' %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
<div id="canvas">
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
<svg width="35px" height="35px" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path d="M31.4366634,9.44202305 C32.0209679,8.85475847 32.9707124,8.85235889 33.557977,9.43666344 C34.1452415,10.020968 34.1476411,10.9707124 33.5633366,11.557977 L18.6389421,26.557977 C18.0546323,27.1452468 17.1048775,27.1476404 16.517615,26.5633231 L1.44200954,11.5633232 C0.85475238,10.9790112 0.852364866,10.0292667 1.43667688,9.44200954 C2.02098889,8.85475238 2.97073336,8.85236487 3.55799051,9.43667688 L17.5702593,23.3786729 L31.4366634,9.44202305 Z"></path>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 626 B |
5
src/project/templates/project/assets/arrow-left-long.svg
Normal file
@@ -0,0 +1,5 @@
|
||||
<svg width="50px" height="35px" viewBox="0 0 50 35" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<polygon
|
||||
points="7.0332611 16 48.75 16 48.75 19 6.95202028 19 20.3913601 32.4393398 18.2700398 34.5606602 1.25 17.5406204 18.3512806 0.439339828 20.4726009 2.56066017"></polygon>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 351 B |
@@ -1,4 +1,5 @@
|
||||
<svg width="35px" height="35px" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path d="M26.557977,31.4366634 C27.1452415,32.0209679 27.1476411,32.9707124 26.5633366,33.557977 C25.979032,34.1452415 25.0292876,34.1476411 24.442023,33.5633366 L9.44202305,18.6389421 C8.85475319,18.0546323 8.85235962,17.1048775 9.43667688,16.517615 L24.4366768,1.44200954 C25.0209888,0.85475238 25.9707333,0.852364866 26.5579905,1.43667688 C27.1452476,2.02098889 27.1476351,2.97073336 26.5633231,3.55799051 L12.6213271,17.5702593 L26.557977,31.4366634 Z"></path>
|
||||
<polygon
|
||||
points="12.1313402 17.5406204 27.0300596 32.4393398 24.9087393 34.5606602 7.88869954 17.5406204 24.9899801 0.439339828 27.1113005 2.56066017"></polygon>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 625 B After Width: | Height: | Size: 334 B |
@@ -1,6 +1,5 @@
|
||||
<svg width="50px" height="35px" viewBox="0 0 50 35" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path d="M32.442023,3.56333662 C31.8547585,2.97903206 31.8523589,2.02928763 32.4366634,1.44202305 C33.020968,0.854758464 33.9707124,0.852358886 34.557977,1.43666344 L49.557977,16.3610579 C50.1452468,16.9453677 50.1476404,17.8951225 49.5633231,18.482385 L34.5633232,33.5579905 C33.9790112,34.1452476 33.0292667,34.1476351 32.4420095,33.5633231 C31.8547524,32.9790111 31.8523649,32.0292666 32.4366769,31.4420095 L46.3786729,17.4297407 L32.442023,3.56333662 Z"
|
||||
id="arrow" fill-rule="nonzero"></path>
|
||||
<rect id="line" x="0" y="16" width="48" height="3" rx="1.5"></rect>
|
||||
<polygon
|
||||
points="42.9680397 16 29.5286999 2.56066017 31.6500202 0.439339828 48.7513008 17.5406204 31.731261 34.5606602 29.6099407 32.4393398 43.0492805 19 1.24869919 19 1.24869919 16"></polygon>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 739 B After Width: | Height: | Size: 367 B |
@@ -1,4 +1,5 @@
|
||||
<svg width="35px" height="35px" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path d="M9.44202305,3.56333662 C8.85475847,2.97903206 8.85235889,2.02928763 9.43666344,1.44202305 C10.020968,0.854758465 10.9707124,0.852358887 11.557977,1.43666344 L26.557977,16.3610579 C27.1452468,16.9453677 27.1476404,17.8951225 26.5633231,18.482385 L11.5633232,33.5579905 C10.9790112,34.1452476 10.0292667,34.1476351 9.44200954,33.5633231 C8.85475238,32.9790111 8.85236487,32.0292666 9.43667688,31.4420095 L23.3786729,17.4297407 L9.44202305,3.56333662 Z"></path>
|
||||
<polygon
|
||||
points="22.8686598 17.5406204 7.88869954 2.56066017 10.0100199 0.439339828 27.1113005 17.5406204 10.0912607 34.5606602 7.96994036 32.4393398"></polygon>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 628 B After Width: | Height: | Size: 334 B |
@@ -1,7 +1,5 @@
|
||||
<svg width="35px" height="35px" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path d="M8.80761184,6.1862915 L29.3137085,26.6923882 C29.8994949,27.2781746 29.8994949,28.2279221 29.3137085,28.8137085 C28.7279221,29.3994949 27.7781746,29.3994949 27.1923882,28.8137085 L6.6862915,8.30761184 C6.10050506,7.72182541 6.10050506,6.77207794 6.6862915,6.1862915 C7.27207794,5.60050506 8.22182541,5.60050506 8.80761184,6.1862915 Z"
|
||||
class="line-left"></path>
|
||||
<path d="M6.6862915,26.6923882 L27.1923882,6.1862915 C27.7781746,5.60050506 28.7279221,5.60050506 29.3137085,6.1862915 C29.8994949,6.77207794 29.8994949,7.72182541 29.3137085,8.30761184 L8.80761184,28.8137085 C8.22182541,29.3994949 7.27207794,29.3994949 6.6862915,28.8137085 C6.10050506,28.2279221 6.10050506,27.2781746 6.6862915,26.6923882 Z"
|
||||
class="line-right"></path>
|
||||
<polygon
|
||||
points="17.5 15.3786797 27.6621477 5.21653197 29.783468 7.33785231 19.6213203 17.5 29.783468 27.6621477 27.6621477 29.783468 17.5 19.6213203 7.33785231 29.783468 5.21653197 27.6621477 15.3786797 17.5 5.21653197 7.33785231 7.33785231 5.21653197"></polygon>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 925 B After Width: | Height: | Size: 437 B |
@@ -1,6 +1,4 @@
|
||||
<svg width="35px" height="35px" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<circle class="left" cx="7.5" cy="17.5" r="2"></circle>
|
||||
<circle class="middle" cx="17.5" cy="17.5" r="2"></circle>
|
||||
<circle class="right" cx="27.5" cy="17.5" r="2"></circle>
|
||||
<path d="M3.5,20.3 C1.9536027,20.3 0.7,19.0463973 0.7,17.5 C0.7,15.9536027 1.9536027,14.7 3.5,14.7 C5.0463973,14.7 6.3,15.9536027 6.3,17.5 C6.3,19.0463973 5.0463973,20.3 3.5,20.3 Z M17.5,20.3 C15.9536027,20.3 14.7,19.0463973 14.7,17.5 C14.7,15.9536027 15.9536027,14.7 17.5,14.7 C19.0463973,14.7 20.3,15.9536027 20.3,17.5 C20.3,19.0463973 19.0463973,20.3 17.5,20.3 Z M31.5,20.3 C29.9536027,20.3 28.7,19.0463973 28.7,17.5 C28.7,15.9536027 29.9536027,14.7 31.5,14.7 C33.0463973,14.7 34.3,15.9536027 34.3,17.5 C34.3,19.0463973 33.0463973,20.3 31.5,20.3 Z"></path>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 341 B After Width: | Height: | Size: 720 B |
@@ -1,4 +1,4 @@
|
||||
<svg width="35px" height="35px" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path d="M15.9996412,16.8783208 L15.9996412,7.5 C15.9996412,6.67157288 16.671214,6 17.4996412,6 C18.3280683,6 18.9996412,6.67157288 18.9996412,7.5 L18.9996412,16.8790385 L21.4393398,14.4393398 C22.0251263,13.8535534 22.9748737,13.8535534 23.5606602,14.4393398 C24.1464466,15.0251263 24.1464466,15.9748737 23.5606602,16.5606602 L18.5606602,21.5606602 C17.9748737,22.1464466 17.0251263,22.1464466 16.4393398,21.5606602 L11.4393398,16.5606602 C10.8535534,15.9748737 10.8535534,15.0251263 11.4393398,14.4393398 C12.0251263,13.8535534 12.9748737,13.8535534 13.5606602,14.4393398 L15.9996412,16.8783208 Z M10.5,28 C9.67157288,28 9,27.3284271 9,26.5 C9,25.6715729 9.67157288,25 10.5,25 L24.5,25 C25.3284271,25 26,25.6715729 26,26.5 C26,27.3284271 25.3284271,28 24.5,28 L10.5,28 Z"></path>
|
||||
<path d="M23.9705882,15.6149321 L17.5001879,22.8529412 L11.0294118,15.614659 L12.6140297,14.13906 L16.4261014,18.4006328 L16.4261014,6.38235294 L18.5738986,6.38235294 L18.5738986,18.4284934 L22.3859703,14.1393332 L23.9705882,15.6149321 Z M7.5,28.6176471 L7.5,26.2647059 L27.5,26.2647059 L27.5,28.6176471 L7.5,28.6176471 Z"></path>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 942 B After Width: | Height: | Size: 491 B |
@@ -1,4 +1,4 @@
|
||||
<svg width="35px" height="35px" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path d="M6.12132034,9 L17.5,20.3786797 L28.8786797,9 L6.12132034,9 Z M31,11.1213203 L18.5606602,23.5606602 C17.9748737,24.1464466 17.0251263,24.1464466 16.4393398,23.5606602 L4,11.1213203 L4,26 L31,26 L31,11.1213203 Z M2.5,6 L32.5,6 C33.3284271,6 34,6.67157288 34,7.5 L34,27.5 C34,28.3284271 33.3284271,29 32.5,29 L2.5,29 C1.67157288,29 1,28.3284271 1,27.5 L1,7.5 C1,6.67157288 1.67157288,6 2.5,6 Z"></path>
|
||||
<path d="M3.03045763,9 L3,9 L3,26 L32,26 L32,9 L31.9695424,9 L17.5,23.3241161 L3.03045763,9 Z M0,6 L35,6 L35,29 L0,29 L0,6 Z M27.7053105,9 L7.29468951,9 L17.5,19.102742 L27.7053105,9 Z"></path>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 569 B After Width: | Height: | Size: 354 B |
@@ -1,6 +1,6 @@
|
||||
<svg width="35px" height="35px" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<rect class="line-top" x="3" y="6" width="29" height="3" rx="1.5"></rect>
|
||||
<rect class="line-middle" x="3" y="16" width="29" height="3" rx="1.5"></rect>
|
||||
<rect class="line-bottom" x="3" y="26" width="29" height="3" rx="1.5"></rect>
|
||||
<rect class="line-top" x="3" y="6" width="29" height="3"></rect>
|
||||
<rect class="line-middle" x="3" y="16" width="29" height="3"></rect>
|
||||
<rect class="line-bottom" x="3" y="26" width="29" height="3"></rect>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 398 B After Width: | Height: | Size: 371 B |
@@ -1,4 +1,4 @@
|
||||
<svg width="35px" height="35px" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path d="M9,30.6571365 L31.5466546,17.5217649 L9,4.38624411 L9,30.6571365 Z M8.06559183,3.82372129 C8.11385613,3.86213396 8.16060259,3.89389381 8.20583948,3.91964378 L8.06559183,3.82372129 Z M8.4983486,31.0038586 C8.46934226,31.0038586 8.4665067,31.0040799 8.49521517,31.0097894 C8.51358323,31.0044274 8.51354824,31.0038586 8.4983486,31.0038586 Z M9.82181934,1.39303795 L33.7559217,15.3368759 L33.9349236,15.4593044 C34.5868249,15.9781407 35,16.6468541 35,17.5216878 C35,18.4257399 34.5132392,19.2516282 33.7559217,19.7064998 L9.82726706,33.6443539 C9.66667195,33.7505899 9.49940323,33.8345151 9.31683935,33.8949975 C9.0236245,33.992138 8.86416284,34.0038586 8.4983486,34.0038586 C8.24745197,34.0038586 8.14898904,33.9995939 7.95603549,33.9612019 C7.73137005,33.9165001 7.55145108,33.8463643 7.32902093,33.7352886 L7.18821849,33.6649755 L7.06507641,33.566969 C6.41317513,33.0481327 6,32.3794194 6,31.5045856 L6,3.53879008 C6,2.63473804 6.4867608,1.80884967 7.22662515,1.3643049 C7.99391167,0.903283625 9.03327302,0.844492269 9.82181934,1.39303795 Z"></path>
|
||||
<path d="M5.21268739,34.0493335 L5.21268739,0.950666475 L35,17.5 L5.21268739,34.0493335 Z M28.8228577,17.5 L8.21268739,6.04933352 L8.21268739,28.9506665 L28.8228577,17.5 Z"></path>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 341 B |
@@ -3,5 +3,5 @@
|
||||
<path d="M15,22 C18.8659932,22 22,18.8659932 22,15 C22,11.1340068 18.8659932,8 15,8 C11.1340068,8 8,11.1340068 8,15 C8,18.8659932 11.1340068,22 15,22 Z M15,25 C9.4771525,25 5,20.5228475 5,15 C5,9.4771525 9.4771525,5 15,5 C20.5228475,5 25,9.4771525 25,15 C25,20.5228475 20.5228475,25 15,25 Z"
|
||||
class="circle" fill-rule="nonzero"></path>
|
||||
<rect class="line" transform="translate(25.303301, 25.303301) rotate(45.000000) translate(-25.303301, -25.303301) "
|
||||
x="19.3033009" y="23.8033009" width="12" height="3" rx="1.5"></rect>
|
||||
x="19.3033009" y="23.8033009" width="12" height="3"></rect>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 704 B After Width: | Height: | Size: 695 B |
@@ -1,4 +1,5 @@
|
||||
<svg width="50px" height="50px" viewBox="0 0 50 50" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
<svg width="35px" height="35px" viewBox="0 0 35 35" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<path d="M35.3991009,16.5843195 C35.9048173,16.1143809 36.6957419,16.1433845 37.1656805,16.6491009 C37.6356191,17.1548173 37.6066155,17.9457419 37.1008991,18.4156805 L20.9589061,33.4156805 C20.4523976,33.8863552 19.659996,33.8564187 19.1904442,33.348869 L12.8324372,26.4763471 C12.3636198,25.9695911 12.3943751,25.1787327 12.901131,24.7099153 C13.407887,24.2410979 14.1987454,24.2718532 14.6675628,24.7786091 L20.1748187,30.7315338 L35.3991009,16.5843195 Z"></path>
|
||||
<polygon
|
||||
points="10.6706826 25.357247 32.4535139 5.11547945 34.6318156 7.45962147 10.4996447 29.8845205 0.3681844 18.9331827 2.71714513 16.7600781"></polygon>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 626 B After Width: | Height: | Size: 331 B |
@@ -4,14 +4,14 @@
|
||||
{% block content %}
|
||||
<div class="content__frame">
|
||||
{% block content_intro %}
|
||||
{% include 'project/includes/content_intro.html' %}
|
||||
{% include 'project/includes/content_intro.html' with image=request.current_page.imageextension.image cropping=request.current_page.imageextension.cropping %}
|
||||
{% endblock %}
|
||||
<div class="content__container">
|
||||
<div class="content__navigation reveal_self reveal reveal_animation data_delay_3">
|
||||
<div class="content__navigation__frame">
|
||||
<div class="content__navigation__main">
|
||||
<span class="content__navigation__title">
|
||||
{{ request.current_page }}
|
||||
{% block navigation_title %}{{ request.current_page }}{% endblock %}
|
||||
</span>
|
||||
<div class="content__navigation__content">
|
||||
<div class="content__navigation__progress">
|
||||
|
||||
14
src/project/templates/project/dialog.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% extends 'main.html' %}
|
||||
{% load i18n %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<div class="content__frame content__frame--dialog">
|
||||
<div class="content__container">
|
||||
<div class="content__dialog">
|
||||
{% block dialog %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -1,15 +1,17 @@
|
||||
{% load i18n cms_tags thumbnail %}
|
||||
|
||||
<div class="content__intro reveal_container reveal_self reveal reveal_animation{% if request.current_page.imageextension.image %} image{% endif %}">
|
||||
<h1 class="reveal reveal_animation">
|
||||
{% if content_title %}
|
||||
{{ content_title }}
|
||||
{% else %}
|
||||
{% page_attribute page_title %}
|
||||
{% endif %}
|
||||
</h1>
|
||||
{% if request.current_page.imageextension.image %}
|
||||
{% thumbnail request.current_page.imageextension.image 1600x800 box=request.current_page.imageextension.cropping crop detail as thumb %}
|
||||
<div class="content__intro reveal_container reveal_self reveal reveal_animation{% if image %} image{% endif %}">
|
||||
<div class="content__intro__content reveal reveal_animation">
|
||||
<h1>
|
||||
{% if content_title %}
|
||||
{{ content_title }}
|
||||
{% else %}
|
||||
{% page_attribute page_title %}
|
||||
{% endif %}
|
||||
</h1>
|
||||
</div>
|
||||
{% if image %}
|
||||
{% thumbnail image 1600x800 box=cropping crop detail as thumb %}
|
||||
<div class="content__intro__image scroll reveal reveal_animation" data-ease-multiplier="-2"
|
||||
style="background-image: url({{ thumb.url }})"></div>
|
||||
{% endif %}
|
||||
|
||||
18
src/project/templates/project/includes/field.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<div class="form__field{% if label %} form__field--label{% endif %}">
|
||||
{% if label %}
|
||||
<label for="{{ field.id_for_label }}"><span>{{ field.label }}</span></label>
|
||||
{% endif %}
|
||||
{{ field }}
|
||||
|
||||
{% if field.errors %}
|
||||
<p class="form__field__errors">
|
||||
{% for error in field.errors %}
|
||||
{{ error }}{% if not forloop.last %}<br>{% endif %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{% if field.help_text %}
|
||||
<p class="form__field__help_text">{{ field.help_text }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
@@ -4,7 +4,7 @@
|
||||
{% for n in 'nn' %}
|
||||
<div class="{% cycle 'navigation__images' 'navigation__list' %}">
|
||||
{% for child in children|slice:'3' %}
|
||||
{% thumbnail child.id|page_image 800x1200 crop=True as thumb %}
|
||||
{% thumbnail child.id|page_image 800x1200 box=child.id|page_image_cropping crop as thumb %}
|
||||
<div class="navigation__item data_id_{{ forloop.counter0 }}" data-id="{{ forloop.counter0 }}">
|
||||
{% if forloop.parentloop.first %}
|
||||
<div class="navigation__item__background"
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
|
||||
<div class="search__results">
|
||||
<p class="section__text search__results__amount">
|
||||
{% if page_obj.object_list|length > 0 %}
|
||||
{% blocktrans with amount=page_obj.object_list|length q=search_form.q.value %}
|
||||
{% if search_results|length > 0 %}
|
||||
{% blocktrans with amount=search_results|length q=search_form.q.value %}
|
||||
{{ amount }} Resultate für «{{ q }}»:
|
||||
{% endblocktrans %}
|
||||
{% else %}
|
||||
@@ -33,11 +33,10 @@
|
||||
{% endif %}
|
||||
</p>
|
||||
<ul>
|
||||
{% for page in page_obj.object_list %}
|
||||
{% for page in search_results %}
|
||||
{% include "project/includes/page_item.html" with search=True image=page.object.page.imageextension.image cropping=page.object.page.imageextension.cropping %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{# {% include "project/includes/pagination.html" with obj_string=_('results') %}#}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6,15 +6,11 @@
|
||||
<span class="download__item__file__icon">{{ item.extension }}</span>
|
||||
</span>
|
||||
<span class="download__item__title">{{ item.label }}</span>
|
||||
{% if item.description %}
|
||||
<span class="download__item__description">{{ item.description }}</span>
|
||||
{% endif %}
|
||||
<span class="download__item__description">{{ item.description }}</span>
|
||||
<span class="downloads__item__tags">{{ item.tag_list }}</span>
|
||||
<span class="download__item__icon">
|
||||
{% include 'project/assets/download.svg' %}
|
||||
</span>
|
||||
{% if item.tag_list %}
|
||||
<span class="downloads__item__tags">{{ file.tag_list }}</span>
|
||||
{% endif %}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||