2019-05-21 09:28:13 -04:00
|
|
|
|
td.project-list-table-name-cell(ng-if-start="!project.isV1Project")
|
|
|
|
|
.project-list-table-name-container
|
|
|
|
|
input.project-list-table-select-item(
|
|
|
|
|
select-individual,
|
|
|
|
|
type="checkbox",
|
|
|
|
|
ng-model="project.selected"
|
2018-09-13 09:00:30 -04:00
|
|
|
|
stop-propagation="click"
|
2019-05-21 09:28:13 -04:00
|
|
|
|
aria-label=translate('select_project') + " '{{ project.name }}'"
|
2018-09-13 09:00:30 -04:00
|
|
|
|
)
|
2019-05-21 09:28:13 -04:00
|
|
|
|
span.project-list-table-name
|
|
|
|
|
a.project-list-table-name-link(
|
|
|
|
|
ng-href="{{projectLink(project)}}"
|
2018-09-13 09:00:30 -04:00
|
|
|
|
stop-propagation="click"
|
2019-05-21 09:28:13 -04:00
|
|
|
|
) {{project.name}}
|
|
|
|
|
span(
|
|
|
|
|
ng-controller="TagListController"
|
2018-09-13 09:00:30 -04:00
|
|
|
|
)
|
2019-05-21 09:28:13 -04:00
|
|
|
|
.tag-label(
|
|
|
|
|
ng-repeat='tag in project.tags'
|
|
|
|
|
stop-propagation="click"
|
2019-04-25 10:21:35 -04:00
|
|
|
|
)
|
2019-05-21 09:28:13 -04:00
|
|
|
|
button.label.label-default.tag-label-name(
|
|
|
|
|
ng-click="selectTag(tag)"
|
|
|
|
|
aria-label="Select tag {{ tag.name }}"
|
2019-04-25 10:21:35 -04:00
|
|
|
|
)
|
2019-05-21 09:28:13 -04:00
|
|
|
|
i.fa.fa-circle(
|
|
|
|
|
aria-hidden="true"
|
|
|
|
|
ng-style="{ 'color': 'hsl({{ getHueForTagId(tag._id) }}, 70%, 45%)' }"
|
|
|
|
|
)
|
|
|
|
|
| {{tag.name}}
|
|
|
|
|
button.label.label-default.tag-label-remove(
|
|
|
|
|
ng-click="removeProjectFromTag(project, tag)"
|
|
|
|
|
aria-label="Remove tag {{ tag.name }}"
|
|
|
|
|
) ×
|
2018-05-16 13:05:33 -04:00
|
|
|
|
|
2019-05-21 09:28:13 -04:00
|
|
|
|
td.project-list-table-owner-cell
|
2019-09-18 06:01:13 -04:00
|
|
|
|
span.owner(ng-if='project.owner') {{getOwnerName(project)}}
|
2019-01-09 08:24:14 -05:00
|
|
|
|
|
|
|
|
|
|
i.fa.fa-question-circle.small(
|
|
|
|
|
ng-if="hasGenericOwnerName()"
|
|
|
|
|
tooltip="This project is owned by a user who hasn’t yet migrated their account to Overleaf v2"
|
|
|
|
|
tooltip-append-to-body="true"
|
|
|
|
|
aria-hidden="true"
|
|
|
|
|
)
|
2018-09-13 09:00:30 -04:00
|
|
|
|
span(ng-if="isLinkSharingProject(project)")
|
|
|
|
|
|
|
|
|
|
|
i.fa.fa-link.small(
|
|
|
|
|
tooltip=translate("link_sharing")
|
|
|
|
|
tooltip-placement="right"
|
|
|
|
|
tooltip-append-to-body="true"
|
2019-11-12 03:56:44 -05:00
|
|
|
|
aria-label=translate("link_sharing")
|
2018-09-13 09:00:30 -04:00
|
|
|
|
)
|
2018-05-16 13:05:33 -04:00
|
|
|
|
|
2019-05-21 09:28:13 -04:00
|
|
|
|
td.project-list-table-lastupdated-cell
|
|
|
|
|
span.last-modified(tooltip="{{project.lastUpdated | formatDate}}")
|
|
|
|
|
| {{project.lastUpdated | fromNowDate}}
|
|
|
|
|
span(ng-show='project.lastUpdatedBy')
|
|
|
|
|
|
|
|
|
|
|
| #{translate('by')}
|
|
|
|
|
| {{getUserName(project.lastUpdatedBy)}}
|
2018-09-13 09:00:30 -04:00
|
|
|
|
|
2019-05-21 09:28:13 -04:00
|
|
|
|
|
|
|
|
|
td.project-list-table-actions-cell(ng-if-end)
|
|
|
|
|
div(
|
|
|
|
|
ng-if="!project.isTableActionInflight"
|
|
|
|
|
)
|
|
|
|
|
button.btn.btn-link.action-btn(
|
2019-11-25 10:41:12 -05:00
|
|
|
|
ng-if="!(project.archived || project.trashed)"
|
2019-05-21 09:28:13 -04:00
|
|
|
|
aria-label=translate('copy'),
|
|
|
|
|
tooltip=translate('copy'),
|
|
|
|
|
tooltip-placement="top",
|
|
|
|
|
tooltip-append-to-body="true",
|
|
|
|
|
ng-click="clone($event)"
|
2018-09-13 09:00:30 -04:00
|
|
|
|
)
|
2019-05-21 09:28:13 -04:00
|
|
|
|
i.icon.fa.fa-files-o(aria-hidden="true")
|
|
|
|
|
button.btn.btn-link.action-btn(
|
|
|
|
|
aria-label=translate('download'),
|
|
|
|
|
tooltip=translate('download'),
|
|
|
|
|
tooltip-placement="top",
|
|
|
|
|
tooltip-append-to-body="true",
|
|
|
|
|
ng-click="download($event)"
|
|
|
|
|
)
|
|
|
|
|
i.icon.fa.fa-cloud-download(aria-hidden="true")
|
|
|
|
|
button.btn.btn-link.action-btn(
|
2019-11-25 10:41:12 -05:00
|
|
|
|
ng-if="!project.archived"
|
2019-05-21 09:28:13 -04:00
|
|
|
|
aria-label=translate('archive'),
|
|
|
|
|
tooltip=translate('archive'),
|
|
|
|
|
tooltip-placement="top",
|
|
|
|
|
tooltip-append-to-body="true",
|
2019-11-25 10:41:12 -05:00
|
|
|
|
ng-click="archive($event)"
|
2019-05-21 09:28:13 -04:00
|
|
|
|
)
|
|
|
|
|
i.icon.fa.fa-inbox(aria-hidden="true")
|
|
|
|
|
button.btn.btn-link.action-btn(
|
2019-11-25 10:41:12 -05:00
|
|
|
|
ng-if="!project.trashed"
|
|
|
|
|
aria-label=translate('trash'),
|
|
|
|
|
tooltip=translate('trash'),
|
2019-05-21 09:28:13 -04:00
|
|
|
|
tooltip-placement="top",
|
|
|
|
|
tooltip-append-to-body="true",
|
2019-11-25 10:41:12 -05:00
|
|
|
|
ng-click="trash($event)"
|
2018-09-13 09:00:30 -04:00
|
|
|
|
)
|
2019-11-25 10:41:12 -05:00
|
|
|
|
i.icon.fa.fa-trash(aria-hidden="true")
|
2019-05-21 09:28:13 -04:00
|
|
|
|
button.btn.btn-link.action-btn(
|
2019-11-25 10:41:12 -05:00
|
|
|
|
ng-if="project.archived && !project.trashed"
|
2019-05-21 09:28:13 -04:00
|
|
|
|
aria-label=translate('unarchive'),
|
|
|
|
|
tooltip=translate('unarchive'),
|
|
|
|
|
tooltip-placement="top",
|
|
|
|
|
tooltip-append-to-body="true",
|
2019-11-25 10:41:12 -05:00
|
|
|
|
ng-click="unarchive($event)"
|
2019-05-21 09:28:13 -04:00
|
|
|
|
)
|
|
|
|
|
i.icon.fa.fa-reply(aria-hidden="true")
|
|
|
|
|
button.btn.btn-link.action-btn(
|
2019-11-25 10:41:12 -05:00
|
|
|
|
ng-if="project.trashed && !project.archived"
|
|
|
|
|
aria-label=translate('untrash'),
|
|
|
|
|
tooltip=translate('untrash'),
|
2019-05-21 09:28:13 -04:00
|
|
|
|
tooltip-placement="top",
|
|
|
|
|
tooltip-append-to-body="true",
|
2019-11-25 10:41:12 -05:00
|
|
|
|
ng-click="untrash($event)"
|
2019-05-21 09:28:13 -04:00
|
|
|
|
)
|
2019-11-25 10:41:12 -05:00
|
|
|
|
i.icon.fa.fa-reply(aria-hidden="true")
|
|
|
|
|
button.btn.btn-link.action-btn(
|
|
|
|
|
ng-if="project.trashed && !project.archived && !isOwner()"
|
|
|
|
|
aria-label=translate('leave'),
|
|
|
|
|
tooltip=translate('leave'),
|
|
|
|
|
tooltip-placement="top",
|
|
|
|
|
tooltip-append-to-body="true",
|
|
|
|
|
ng-click="leave($event)"
|
|
|
|
|
)
|
|
|
|
|
i.icon.fa.fa-sign-out(aria-hidden="true")
|
|
|
|
|
button.btn.btn-link.action-btn(
|
|
|
|
|
ng-if="project.trashed && !project.archived && isOwner()"
|
|
|
|
|
aria-label=translate('delete'),
|
|
|
|
|
tooltip=translate('delete'),
|
|
|
|
|
tooltip-placement="top",
|
|
|
|
|
tooltip-append-to-body="true",
|
|
|
|
|
ng-click="delete($event)"
|
|
|
|
|
)
|
|
|
|
|
i.icon.fa.fa-ban(aria-hidden="true")
|
2019-05-21 09:28:13 -04:00
|
|
|
|
div(
|
|
|
|
|
ng-if="project.isTableActionInflight"
|
|
|
|
|
aria-label=translate('processing')
|
|
|
|
|
)
|
|
|
|
|
i.fa.fa-spinner.fa-spin(aria-hidden="true")
|