本站源代码
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.

9 satır
459B

  1. {{range .Attachments}}
  2. <a target="_blank" rel="noopener noreferrer" href="{{AppSubUrl}}/attachments/{{.UUID}}">
  3. {{if FilenameIsImage .Name}}
  4. <img class="ui image" src="{{AppSubUrl}}/attachments/{{.UUID}}" title='{{$.ctx.i18n.Tr "repo.issues.attachment.open_tab" .Name}}'>
  5. {{else}}
  6. <span class="ui image octicon octicon-desktop-download" title='{{$.ctx.i18n.Tr "repo.issues.attachment.download" .Name}}'></span>
  7. {{end}}
  8. </a>
  9. {{end}}
上海开阖软件有限公司 沪ICP备12045867号-1