Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove broken/needless JS from certain pages #167

Merged
merged 1 commit into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions snikket_web/templates/invite_reset.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
{% block head_lead %}
{{ super() }}
<title>{% trans %}Reset your password | Snikket{% endtrans %}</title>
<script async type="text/javascript" src="{{ url_for("static", filename="js/qrcode.min.js") }}"></script>
{% endblock %}
{% block content %}
<form method="POST"><div class="form layout-expanded">
Expand All @@ -27,9 +26,4 @@ <h1 class="form-title">{% trans %}Reset your password online{% endtrans %}</h1>
{%- call form_button("passwd", form.action_reset, class="primary") -%}{%- endcall -%}
</div>
</div></form>
<script type="text/javascript">
var onload = function() {
apply_qr_code(document.getElementById("qr-uri"));
};
</script>
{% endblock %}
1 change: 0 additions & 1 deletion snikket_web/templates/invite_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ <h2>{% trans %}Alternatives{% endtrans %}</h2>

var onload = function() {
apply_qr_code(document.getElementById("qr-invite-page"));
apply_qr_code(document.getElementById("qr-uri"));
var popover_as = document.getElementsByClassName("popover");
for (var i = 0; i < popover_as.length; ++i) {
var a = popover_as[i];
Expand Down
8 changes: 4 additions & 4 deletions snikket_web/translations/messages.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2023-12-08 12:08+0000\n"
"POT-Creation-Date: 2023-12-12 18:22+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.13.1\n"
"Generated-By: Babel 2.14.0\n"

#: snikket_web/admin.py:69 snikket_web/templates/admin_delete_user.html:10
#: snikket_web/templates/admin_edit_circle.html:73
Expand Down Expand Up @@ -1260,11 +1260,11 @@ msgstr ""
msgid "Reset your password | Snikket"
msgstr ""

#: snikket_web/templates/invite_reset.html:15
#: snikket_web/templates/invite_reset.html:14
msgid "Reset your password online"
msgstr ""

#: snikket_web/templates/invite_reset.html:16
#: snikket_web/templates/invite_reset.html:15
msgid ""
"To reset your password online, fill out the fields below and confirm "
"using the button."
Expand Down
Loading