Make __PUBLISH__ not clickable
This commit is contained in:
parent
37994f3b4c
commit
4c61b707dd
@ -54,3 +54,9 @@ hr {
|
||||
.magicwords {
|
||||
padding-right: 5px;
|
||||
}
|
||||
.magicwords-publish {
|
||||
padding-right: 5px;
|
||||
display: inline;
|
||||
color: gray;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
@ -54,12 +54,16 @@
|
||||
|
||||
<!-- WOW -->
|
||||
<td class="magicwords">
|
||||
{% for magicword in pad.magicwords %}
|
||||
<a class="magicwords" href="#{{ magicword }}">{{ magicword }}</a>
|
||||
{% if magicword %}
|
||||
<div style="display:none;">{{ allmagicwords.append(magicword) }}</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for magicword in pad.magicwords %}
|
||||
{% if magicword == "__PUBLISH__" %}
|
||||
<p class="magicwords-publish">{{magicword}}</p>
|
||||
{% else %}
|
||||
<a class="magicwords" href="#{{ magicword }}">{{ magicword }}</a>
|
||||
{% endif %}
|
||||
{% if magicword %}
|
||||
<div style="display:none;">{{ allmagicwords.append(magicword) }}</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</td>
|
||||
<!--<td class="lastedited">{{ pad.lastedited_iso|datetimeformat }}</td>-->
|
||||
<!--<td class="revisions">{{ pad.revisions }}</td>-->
|
||||
|
Loading…
Reference in New Issue
Block a user