mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-26 18:37:12 +00:00
Remove alias_update.html
This commit is contained in:
parent
196f796570
commit
2c1cf148fa
@ -1,12 +0,0 @@
|
|||||||
{% load django_tables2 crispy_forms_tags i18n %}
|
|
||||||
<div class="d-flex justify-content-center">
|
|
||||||
<input id="alias_input" type="text" value=""/>
|
|
||||||
<button id="alias_submit" class="btn btn-primary mx-2" onclick="create_alias( {{ object.note.pk }} )" type="submit">
|
|
||||||
{% trans "Add alias" %}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
<div class="card bg-light shadow">
|
|
||||||
<div class="card-body">
|
|
||||||
{% render_table aliases %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
@ -1,10 +1,25 @@
|
|||||||
{% extends "member/club_detail.html" %}
|
{% extends "member/club_detail.html" %}
|
||||||
{% load i18n static pretty_money django_tables2 crispy_forms_tags %}
|
{% load static django_tables2 i18n %}
|
||||||
|
|
||||||
{% block profile_content %}
|
{% block profile_content %}
|
||||||
{% include "member/alias_update.html" %}
|
<div class="card bg-light">
|
||||||
|
<h3 class="card-header text-center">
|
||||||
|
{% trans "Note aliases" %}
|
||||||
|
</h3>
|
||||||
|
<div class="card-body text-center">
|
||||||
|
<div class="input-group">
|
||||||
|
<input id="alias_input" type="text" class="form-control">
|
||||||
|
<div class="input-group-append">
|
||||||
|
<button id="alias_submit" class="btn btn-success" onclick="create_alias({{ object.note.pk }})">
|
||||||
|
{% trans "Add" %}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% render_table aliases %}
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block extrajavascript %}
|
{% block extrajavascript %}
|
||||||
<script src="/static/js/alias.js"></script>
|
<script src="{% static "member/js/alias.js" %}"></script>
|
||||||
{% endblock%}
|
{% endblock%}
|
@ -1,5 +1,8 @@
|
|||||||
{% extends "member/noteowner_detail.html" %}
|
{% extends "member/noteowner_detail.html" %}
|
||||||
|
|
||||||
|
{# Use a fluid-width container #}
|
||||||
|
{% block containertype %}container-fluid{% endblock %}
|
||||||
|
|
||||||
{% block profile_info %}
|
{% block profile_info %}
|
||||||
{% include "member/club_info.html" %}
|
{% include "member/club_info.html" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,10 +1,25 @@
|
|||||||
{% extends "member/profile_detail.html" %}
|
{% extends "member/profile_detail.html" %}
|
||||||
{% load i18n static pretty_money django_tables2 crispy_forms_tags %}
|
{% load static django_tables2 i18n %}
|
||||||
|
|
||||||
{% block profile_content %}
|
{% block profile_content %}
|
||||||
{% include "member/alias_update.html"%}
|
<div class="card bg-light">
|
||||||
|
<h3 class="card-header text-center">
|
||||||
|
{% trans "Note aliases" %}
|
||||||
|
</h3>
|
||||||
|
<div class="card-body text-center">
|
||||||
|
<div class="input-group">
|
||||||
|
<input id="alias_input" type="text" class="form-control">
|
||||||
|
<div class="input-group-append">
|
||||||
|
<button id="alias_submit" class="btn btn-success" onclick="create_alias({{ object.note.pk }})">
|
||||||
|
{% trans "Add" %}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% render_table aliases %}
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block extrajavascript %}
|
{% block extrajavascript %}
|
||||||
<script src="/static/js/alias.js"></script>
|
<script src="{% static "member/js/alias.js" %}"></script>
|
||||||
{% endblock%}
|
{% endblock%}
|
Loading…
Reference in New Issue
Block a user