削除ボタンを隠すコマンドを追加

This commit is contained in:
yuuki 2024-07-13 23:22:28 +00:00
parent c22936c670
commit dc6dd3fe3f

View file

@ -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>
<input type="submit" value="削除" onclick="noteDelete(this);" data-id="{{ note.id | urlencode() }}" data-preview="{{ note.content | urlencode() }}"> {% if "/ninja" not in note.content %}
<input type="submit" value="削除" onclick="noteDelete(this);" data-id="{{ note.id | urlencode() }}" data-preview="{{ note.content | urlencode() }}">
{% endif %}
</div> </div>
{% endfor %} {% endfor %}
</body> </body>