diff options
Diffstat (limited to 'src/hydrilla/proxy/self_doc')
-rw-r--r-- | src/hydrilla/proxy/self_doc/doc_base.html.jinja | 4 | ||||
-rw-r--r-- | src/hydrilla/proxy/self_doc/url_patterns.html.jinja | 18 |
2 files changed, 10 insertions, 12 deletions
diff --git a/src/hydrilla/proxy/self_doc/doc_base.html.jinja b/src/hydrilla/proxy/self_doc/doc_base.html.jinja index cef1abb..7982142 100644 --- a/src/hydrilla/proxy/self_doc/doc_base.html.jinja +++ b/src/hydrilla/proxy/self_doc/doc_base.html.jinja @@ -59,7 +59,5 @@ code in a proprietary work, I am not going to enforce this in court. {% endmacro %} {% macro small_heading(text) %} - <label class="section-label"> - {{ text }} - </label> + {{ label(text) }} {% endmacro %} diff --git a/src/hydrilla/proxy/self_doc/url_patterns.html.jinja b/src/hydrilla/proxy/self_doc/url_patterns.html.jinja index 45a0db3..7d2718f 100644 --- a/src/hydrilla/proxy/self_doc/url_patterns.html.jinja +++ b/src/hydrilla/proxy/self_doc/url_patterns.html.jinja @@ -20,10 +20,10 @@ code in a proprietary work, I am not going to enforce this in court. #} {% extends "doc_base.html.jinja" %} -{% block title %}URL patterns{% endblock %} +{% block title %}{{ _('doc.url_patterns.title') }}{% endblock %} {% block main %} - {{ big_heading('URL patterns') }} + {{ big_heading(_('doc.url_patterns.h_big')) }} {% call section() %} {% call paragraph() %} @@ -32,7 +32,7 @@ code in a proprietary work, I am not going to enforce this in court. {% endcall %} {% call section() %} - {{ medium_heading(_('doc.url_patterns.heading.employed_solution')) }} + {{ medium_heading(_('doc.url_patterns.h_medium.employed_solution')) }} {% call paragraph() %} {{ _('doc.url_patterns.html.wildcards_intro')|safe }} @@ -44,7 +44,7 @@ code in a proprietary work, I am not going to enforce this in court. {% endcall %} {% call section() %} - {{ small_heading(_('doc.url_patterns.label.domain_wildcards')) }} + {{ small_heading(_('doc.url_patterns.h_small.domain_wildcards')) }} {% call paragraph() %} {{ _('doc.url_patterns.html.domain_wildcards_intro')|safe }} @@ -67,7 +67,7 @@ code in a proprietary work, I am not going to enforce this in court. {% endcall %} {% call section() %} - {{ small_heading(_('doc.url_patterns.label.path_wildcards')) }} + {{ small_heading(_('doc.url_patterns.h_small.path_wildcards')) }} {% call paragraph() %} {{ _('doc.url_patterns.html.path_wildcards_intro')|safe }} @@ -102,7 +102,7 @@ code in a proprietary work, I am not going to enforce this in court. {% endcall %} {% call section() %} - {{ small_heading(_('doc.url_patterns.label.protocol_wildcards')) }} + {{ small_heading(_('doc.url_patterns.h_small.protocol_wildcards')) }} {% call paragraph() %} {{ _('doc.url_patterns.html.protocol_wildcards')|safe }} @@ -114,7 +114,7 @@ code in a proprietary work, I am not going to enforce this in court. {% endcall %} {% call section() %} - {{ small_heading(_('doc.url_patterns.label.wildcard_priorities')) }} + {{ small_heading(_('doc.url_patterns.h_small.wildcard_priorities')) }} {% call paragraph() %} {{ _('doc.url_patterns.priorities_intro') }} @@ -283,7 +283,7 @@ https://***.example.com/*** {% endcall %} {% call section() %} - {{ small_heading(_('doc.url_patterns.label.limits')) }} + {{ small_heading(_('doc.url_patterns.h_small.limits')) }} {% call paragraph() %} {{ _('doc.url_patterns.limits')|safe }} @@ -291,7 +291,7 @@ https://***.example.com/*** {% endcall %} {% call section() %} - {{ medium_heading(_('doc.url_patterns.heading.alt_solution')) }} + {{ medium_heading(_('doc.url_patterns.h_medium.alt_solution')) }} {% call paragraph() %} {{ _('doc.url_patterns.url_pattern_drawbacks') }} |