2018-05-16 17:05:33 +00: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"
|
|
|
|
|
|
|
|
div(class=titleClasses)
|
2017-10-30 11:27:24 +00:00
|
|
|
input.select-item(
|
|
|
|
select-individual,
|
|
|
|
type="checkbox",
|
2017-12-12 16:23:24 +00:00
|
|
|
ng-disabled="shouldDisableCheckbox(project)",
|
2017-10-30 11:27:24 +00:00
|
|
|
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)"
|
|
|
|
) ×
|
|
|
|
|
|
|
|
.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-05-16 17:05:33 +00:00
|
|
|
|
|
|
|
div(class=lastUpdatedClasses)
|
2018-04-27 15:50:46 +00:00
|
|
|
if settings.overleaf
|
|
|
|
span.last-modified(tooltip="{{project.lastUpdated | formatDate}}") {{project.lastUpdated | fromNowDate}}
|
|
|
|
else
|
|
|
|
span.last-modified {{project.lastUpdated | formatDate}}
|
2018-05-16 17:05:33 +00:00
|
|
|
|
|
|
|
if settings.overleaf
|
2018-05-17 10:12:52 +00:00
|
|
|
.hidden-xs.col-sm-3.col-md-2.action-btn-row
|
2018-05-16 17:05:33 +00:00
|
|
|
button.btn.btn-link.action-btn(
|
|
|
|
tooltip=translate('copy'),
|
|
|
|
tooltip-placement="top",
|
|
|
|
tooltip-append-to-body="true",
|
2018-05-17 13:28:34 +00:00
|
|
|
ng-click="clone($event)"
|
2018-05-16 17:05:33 +00:00
|
|
|
)
|
|
|
|
i.icon.fa.fa-files-o
|
|
|
|
button.btn.btn-link.action-btn(
|
|
|
|
tooltip=translate('download'),
|
|
|
|
tooltip-placement="top",
|
|
|
|
tooltip-append-to-body="true",
|
2018-05-17 13:28:34 +00:00
|
|
|
ng-click="download($event)"
|
2018-05-16 17:05:33 +00:00
|
|
|
)
|
|
|
|
i.icon.fa.fa-cloud-download
|
|
|
|
button.btn.btn-link.action-btn(
|
2018-06-06 15:59:13 +00:00
|
|
|
ng-if="!project.archived && isOwner()"
|
2018-05-16 17:05:33 +00:00
|
|
|
tooltip=translate('archive'),
|
|
|
|
tooltip-placement="top",
|
|
|
|
tooltip-append-to-body="true",
|
2018-06-06 15:59:13 +00:00
|
|
|
ng-click="archiveOrLeave($event)"
|
2018-05-16 17:05:33 +00:00
|
|
|
)
|
2018-05-17 14:04:50 +00:00
|
|
|
i.icon.fa.fa-inbox
|
2018-06-06 15:59:13 +00:00
|
|
|
button.btn.btn-link.action-btn(
|
|
|
|
ng-if="!project.archived && !isOwner()"
|
|
|
|
tooltip=translate('leave'),
|
|
|
|
tooltip-placement="top",
|
|
|
|
tooltip-append-to-body="true",
|
|
|
|
ng-click="archiveOrLeave($event)"
|
|
|
|
)
|
|
|
|
i.icon.fa.fa-sign-out
|
2018-05-17 14:04:50 +00:00
|
|
|
button.btn.btn-link.action-btn(
|
|
|
|
ng-if="project.archived"
|
|
|
|
tooltip=translate('unarchive'),
|
|
|
|
tooltip-placement="top",
|
|
|
|
tooltip-append-to-body="true",
|
|
|
|
ng-click="restore($event)"
|
|
|
|
)
|
|
|
|
i.icon.fa.fa-reply
|