{% if file != None and _user_name == file.creator and op == "view" %}
{% if file.type == "gallery" %}
管理文件
{% elif file.show_edit == False %}
{% else %}
编辑
{% end %}
更多▾
重命名分享移动复制
{% if file.level > 0 %}
取消置顶
{% else %}
置顶
{% end %}
{% if file.archived %}
取消归档
{% end %}
{% if _is_admin and file.type == "gallery" %}
管理文件
{% end %}
{{T("历史")}}打印
{% if _is_admin and xutils.call("note.has_external_image", file) %}
缓存外部资源
{% end %}
{% if item.is_deleted %}
恢复笔记
{% else %}
删除
{% end %}
{% end %}
{% include note/component/script/note_option_script.html %}