{% if file != None and _user_name == file.creator and op == "view" %} {% if file.type == "gallery" %} 管理文件 {% elif file.show_edit == False %} {% else %} 编辑 {% end %} {% end %} {% include note/component/script/note_option_script.html %}