mirror of
https://github.com/steedos/steedos-platform
synced 2024-11-22 00:01:52 +00:00
正文的“历史版本”旁新增按钮“上传新版本”,用于上传正文的新版文件 #2596
This commit is contained in:
parent
b887251209
commit
c890245028
@ -74,17 +74,19 @@
|
||||
<a data-downloadurl="{{getUrl this._id}}" class="mouse-hover" name="ins_attach_office_online_preview" id="{{this._id}}" data-name="{{this.name}}">{{_ "workflow_attachment_office_online_preview"}}</a>
|
||||
{{/if}}
|
||||
<a name="ins_attach_version" class="mouse-hover" data-parent="{{this.metadata.parent}}">{{_ "workflow_attachment_versions"}}</a>
|
||||
{{#if enabled_add_attachment this}}
|
||||
<a class="mouse-hover">
|
||||
<div class="ins-upload">
|
||||
{{#if this.metadata.main}}
|
||||
<input type="file" name="file" class="ins-file-version-input" id="ins_upload_main_attach_version">
|
||||
{{else}}
|
||||
<input type="file" name="file" class="ins-file-version-input" id="ins_upload_normal_attach_version">
|
||||
{{/if}}
|
||||
<span>上传新版本</span>
|
||||
</div>
|
||||
</a>
|
||||
{{#if this.metadata.main}}
|
||||
{{#if enabled_add_attachment this}}
|
||||
<a class="mouse-hover">
|
||||
<div class="ins-upload">
|
||||
{{#if this.metadata.main}}
|
||||
<input type="file" name="file" class="ins-file-version-input" id="ins_upload_main_attach_version">
|
||||
{{else}}
|
||||
<input type="file" name="file" class="ins-file-version-input" id="ins_upload_normal_attach_version">
|
||||
{{/if}}
|
||||
<span>{{_ "workflow_attachment_versions_upload"}}</span>
|
||||
</div>
|
||||
</a>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{#if this.metadata.locked_by}}
|
||||
<span style="margin-left: 10px;">{{locked_info this.metadata.locked_by_name}}</span>
|
||||
|
Loading…
Reference in New Issue
Block a user