2018-09-13 09:00:30 -04:00
|
|
|
- var titleClasses = settings.overleaf ? "col-xs-6 col-sm-4 col-md-6" : "col-xs-6"
|
|
|
|
- var lastUpdatedClasses = settings.overleaf ? " col-xs-4 col-sm-3 col-md-2" : "col-xs-4"
|
2017-10-30 07:27:24 -04:00
|
|
|
|
2018-09-13 09:00:30 -04:00
|
|
|
div(class=titleClasses)
|
|
|
|
input.select-item(
|
|
|
|
select-individual,
|
|
|
|
type="checkbox",
|
|
|
|
ng-disabled="shouldDisableCheckbox(project)",
|
|
|
|
ng-model="project.selected"
|
|
|
|
stop-propagation="click"
|
|
|
|
aria-label=translate('select_project') + " '{{ project.name }}'"
|
|
|
|
)
|
|
|
|
span
|
|
|
|
a.projectName(
|
|
|
|
ng-href="{{projectLink(project)}}"
|
|
|
|
stop-propagation="click"
|
|
|
|
) {{project.name}}
|
|
|
|
span(
|
|
|
|
ng-controller="TagListController"
|
|
|
|
)
|
|
|
|
.tag-label(
|
|
|
|
ng-repeat='tag in project.tags'
|
|
|
|
stop-propagation="click"
|
|
|
|
)
|
|
|
|
a.label.label-default.tag-label-name(
|
|
|
|
href,
|
|
|
|
ng-click="selectTag(tag)"
|
|
|
|
) {{tag.name}}
|
|
|
|
a.label.label-default.tag-label-remove(
|
|
|
|
href
|
|
|
|
ng-click="removeProjectFromTag(project, tag)"
|
|
|
|
) ×
|
2018-05-16 13:05:33 -04:00
|
|
|
|
2018-09-13 09:00:30 -04:00
|
|
|
.col-xs-2
|
|
|
|
span.owner {{ownerName()}}
|
|
|
|
span(ng-if="isLinkSharingProject(project)")
|
|
|
|
|
|
|
|
|
i.fa.fa-link.small(
|
|
|
|
tooltip=translate("link_sharing")
|
|
|
|
tooltip-placement="right"
|
|
|
|
tooltip-append-to-body="true"
|
2018-11-19 04:41:34 -05:00
|
|
|
aria-hidden="true"
|
2018-09-13 09:00:30 -04:00
|
|
|
)
|
2018-11-15 12:21:45 -05:00
|
|
|
span.sr-only #{translate("link_sharing")}
|
2018-05-16 13:05:33 -04:00
|
|
|
|
2018-09-13 09:00:30 -04:00
|
|
|
div(class=lastUpdatedClasses)
|
|
|
|
if settings.overleaf
|
|
|
|
span.last-modified(tooltip="{{project.lastUpdated | formatDate}}") {{project.lastUpdated | fromNowDate}}
|
|
|
|
else
|
|
|
|
span.last-modified {{project.lastUpdated | formatDate}}
|
|
|
|
|
|
|
|
if settings.overleaf
|
|
|
|
.hidden-xs.col-sm-3.col-md-2.action-btn-row
|
|
|
|
div(
|
|
|
|
ng-if="!project.isTableActionInflight"
|
|
|
|
)
|
|
|
|
button.btn.btn-link.action-btn(
|
2018-11-15 12:21:45 -05:00
|
|
|
aria-label=translate('copy'),
|
2018-09-13 09:00:30 -04:00
|
|
|
tooltip=translate('copy'),
|
|
|
|
tooltip-placement="top",
|
|
|
|
tooltip-append-to-body="true",
|
|
|
|
ng-click="clone($event)"
|
|
|
|
)
|
2018-11-19 04:41:34 -05:00
|
|
|
i.icon.fa.fa-files-o(aria-hidden="true")
|
2018-09-13 09:00:30 -04:00
|
|
|
button.btn.btn-link.action-btn(
|
2018-11-15 12:21:45 -05:00
|
|
|
aria-label=translate('download'),
|
2018-09-13 09:00:30 -04:00
|
|
|
tooltip=translate('download'),
|
|
|
|
tooltip-placement="top",
|
|
|
|
tooltip-append-to-body="true",
|
|
|
|
ng-click="download($event)"
|
|
|
|
)
|
2018-11-19 04:41:34 -05:00
|
|
|
i.icon.fa.fa-cloud-download(aria-hidden="true")
|
2018-09-13 09:00:30 -04:00
|
|
|
button.btn.btn-link.action-btn(
|
|
|
|
ng-if="!project.archived && isOwner()"
|
2018-11-15 12:21:45 -05:00
|
|
|
aria-label=translate('archive'),
|
2018-09-13 09:00:30 -04:00
|
|
|
tooltip=translate('archive'),
|
|
|
|
tooltip-placement="top",
|
|
|
|
tooltip-append-to-body="true",
|
|
|
|
ng-click="archiveOrLeave($event)"
|
|
|
|
)
|
2018-11-19 04:41:34 -05:00
|
|
|
i.icon.fa.fa-inbox(aria-hidden="true")
|
2018-09-13 09:00:30 -04:00
|
|
|
button.btn.btn-link.action-btn(
|
|
|
|
ng-if="!project.archived && !isOwner()"
|
2018-11-15 12:21:45 -05:00
|
|
|
aria-label=translate('leave'),
|
2018-09-13 09:00:30 -04:00
|
|
|
tooltip=translate('leave'),
|
|
|
|
tooltip-placement="top",
|
|
|
|
tooltip-append-to-body="true",
|
|
|
|
ng-click="archiveOrLeave($event)"
|
|
|
|
)
|
2018-11-19 04:41:34 -05:00
|
|
|
i.icon.fa.fa-sign-out(aria-hidden="true")
|
2018-09-13 09:00:30 -04:00
|
|
|
button.btn.btn-link.action-btn(
|
|
|
|
ng-if="project.archived"
|
2018-11-15 12:21:45 -05:00
|
|
|
aria-label=translate('unarchive'),
|
2018-09-13 09:00:30 -04:00
|
|
|
tooltip=translate('unarchive'),
|
|
|
|
tooltip-placement="top",
|
|
|
|
tooltip-append-to-body="true",
|
|
|
|
ng-click="restore($event)"
|
|
|
|
)
|
2018-11-19 04:41:34 -05:00
|
|
|
i.icon.fa.fa-reply(aria-hidden="true")
|
2018-09-13 09:00:30 -04:00
|
|
|
button.btn.btn-link.action-btn(
|
|
|
|
ng-if="project.archived && isOwner()"
|
2018-11-15 12:21:45 -05:00
|
|
|
aria-label=translate('delete_forever'),
|
2018-09-13 09:00:30 -04:00
|
|
|
tooltip=translate('delete_forever'),
|
|
|
|
tooltip-placement="top",
|
|
|
|
tooltip-append-to-body="true",
|
|
|
|
ng-click="deleteProject($event)"
|
|
|
|
)
|
2018-11-19 04:41:34 -05:00
|
|
|
i.icon.fa.fa-trash(aria-hidden="true")
|
2018-09-13 09:00:30 -04:00
|
|
|
div(
|
|
|
|
ng-if="project.isTableActionInflight"
|
2018-11-15 12:21:45 -05:00
|
|
|
aria-label=translate('processing')
|
2018-09-13 09:00:30 -04:00
|
|
|
)
|
2018-11-19 04:41:34 -05:00
|
|
|
i.fa.fa-spinner.fa-spin(aria-hidden="true")
|