kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
2.5 KiB
65 lines
2.5 KiB
<div class="work-packages--attachments attributes-group">
|
|
<div class="attributes-group--header">
|
|
<div class="attributes-group--header-container">
|
|
<h3 class="attributes-group--header-text">
|
|
{{ ::I18n.t('js.label_attachments') }}
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
<div class="work-package--attachments--files"
|
|
data-ng-show="attachments.length > 0">
|
|
<div class="work-package--details--long-field">
|
|
<span class="inplace-edit--read"
|
|
data-ng-repeat="attachment in attachments">
|
|
<span class="inplace-editing--trigger-container">
|
|
<span class="inplace-editing--trigger-link"
|
|
ng-class="{'-focus': focussing(attachment)}">
|
|
<span class="inplace-editing--container">
|
|
<span class="inplace-edit--read-value">
|
|
<i class="icon-attachment"></i>
|
|
<a class="work-package--attachments--filename"
|
|
data-ng-href="{{attachment.downloadLocation.href}}"
|
|
download
|
|
data-ng-focus="focus(attachment)"
|
|
data-ng-blur="focus(null)">
|
|
{{::attachment.fileName}}
|
|
</a>
|
|
</span>
|
|
<a href=''
|
|
class="inplace-edit--icon-wrapper"
|
|
data-ng-focus="focus(attachment)"
|
|
data-ng-blur="focus(null)"
|
|
data-ng-click="remove(attachment)"
|
|
data-confirm-popup="{{I18n.t('js.text_attachment_destroy_confirmation')}}">
|
|
|
|
<icon-wrapper icon-name="delete"
|
|
data-icon-title="{{::I18n.t('js.label_remove_file',
|
|
{ fileName: attachment.fileName })}}">
|
|
</icon-wrapper>
|
|
</a>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div data-ng-show="hasRightToUpload"
|
|
data-ngf-drop
|
|
data-ng-model="files"
|
|
data-ng-model-rejected="rejectedFiles"
|
|
data-ngf-select
|
|
class="work-package--attachments--drop-box"
|
|
data-ngf-multiple="true"
|
|
data-ngf-change="uploadFilteredFiles($files)"
|
|
data-ngf-max-size="{{::maximumFileSize}}"
|
|
data-click-on-keypress="[13, 32]">
|
|
<div class="work-package--attachments--label">
|
|
<i class="icon-attachment"></i>
|
|
<p>
|
|
{{ ::I18n.t('js.label_drop_files') }}
|
|
<br>
|
|
{{ ::I18n.t('js.label_drop_files_hint') }}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|