削除ボタンを隠すコマンドを追加
This commit is contained in:
parent
c22936c670
commit
dc6dd3fe3f
1 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,9 @@
|
||||||
<div>{{ note.content | replace_ng_words(ng_words) }}</div>
|
<div>{{ note.content | replace_ng_words(ng_words) }}</div>
|
||||||
<div id="attachments" data-linksets="{{ note.content | content_to_linksets | urlencode() }}"></div>
|
<div id="attachments" data-linksets="{{ note.content | content_to_linksets | urlencode() }}"></div>
|
||||||
<code id="date" data-date="{{ note.date | urlencode() }}"></code>
|
<code id="date" data-date="{{ note.date | urlencode() }}"></code>
|
||||||
|
{% if "/ninja" not in note.content %}
|
||||||
<input type="submit" value="削除" onclick="noteDelete(this);" data-id="{{ note.id | urlencode() }}" data-preview="{{ note.content | urlencode() }}">
|
<input type="submit" value="削除" onclick="noteDelete(this);" data-id="{{ note.id | urlencode() }}" data-preview="{{ note.content | urlencode() }}">
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Add table
Reference in a new issue