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