mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-07 02:35:10 +01:00
Create public tag page, better retrieval of PublicTag page
This commit is contained in:
@@ -6,6 +6,22 @@
|
||||
{% block pageheader %}{{ action }}{% endblock %}
|
||||
{% block pagecontent %}
|
||||
|
||||
{% if tag and not publictag %}
|
||||
<div class="row">
|
||||
<form action="{{ url_for('addpublictag', userkey=userkey, tag=tag) }}" method="POST">
|
||||
<div class="input-field col l2 m2 s4">
|
||||
<p class="left-align"><button class="btn btn-large waves-effect waves-light" type="submit" name="submit">Create public page <i class="material-icons right">tag</i></button></p>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if tag and publictag %}
|
||||
<div class="row">
|
||||
<div class="col s12"><a href="{{ url_for('publictag', tagkey=publictag.tagkey) }}">Public link</a></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if message %}
|
||||
<div class="row">
|
||||
<div class="col s12">
|
||||
|
||||
Reference in New Issue
Block a user