Minor template fixups

This commit is contained in:
Yingtong Li 2019-01-26 17:25:32 +11:00
parent 59b9bddd8a
commit 990b707cd7
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
3 changed files with 9 additions and 3 deletions

View File

@ -18,10 +18,12 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
#}
{% block title %}Membership renewal complete{% endblock %}
{% block content %}
<h1>Membership renewal</h1>
<h1>Membership renewal complete</h1>
<p>Your membership renewal has been successful processed!</p>
<p>Your membership renewal has been successfully processed.</p>
<p>You can view and edit your membership details by <a href="{{ url('membership') }}">logging in</a>.</p>
{% endblock %}

View File

@ -18,6 +18,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
#}
{% block title %}Membership renewal{% endblock %}
{% block content %}
<h1>Membership renewal</h1>

View File

@ -18,6 +18,8 @@
along with this program. If not, see <https://www.gnu.org/licenses/>.
#}
{% block title %}Membership renewal{% endblock %}
{% block content %}
<h1>Membership renewal</h1>
@ -114,7 +116,7 @@
<script>
$('.ui.dropdown').dropdown();
$('#drop_year').dropdown('set selected', '{{ member.year }}');
$('#drop_msa').dropdown('set selected', '{{ member.is_msa }}');
$('#drop_msa').dropdown('set selected', '{{ 1 if member.is_msa else 0 }}');
</script>
{% endif %}
{% endblock %}