mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 12:04:14 -05:00
603252f3b4
This change disables the select-project checkbox if the user is on the 'archived' project pane and they don't own the project. The request to delete would fail anyway, but this prevents UI confusion
41 lines
No EOL
997 B
Text
41 lines
No EOL
997 B
Text
.col-xs-6
|
|
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)"
|
|
) ×
|
|
|
|
.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"
|
|
)
|
|
.col-xs-4
|
|
span.last-modified {{project.lastUpdated | formatDate}} |