overleaf/services/web/app/views/project/list/v1-item.pug
Timothée Alby d86abf49e6 Merge pull request #1729 from overleaf/ta-show-last-modified
Show LastUpdatedBy on Dashboard

GitOrigin-RevId: 11760e575a46f061d4aa9059a0c1e813b9adb1f9
2019-05-21 13:39:29 +00:00

31 lines
No EOL
1,011 B
Text

td.project-list-table-name-cell(ng-if-start="project.isV1Project")
.project-list-table-name-container
span.project-list-table-v1-badge-container
span.v1-badge(
aria-label=translate("v1_badge")
tooltip-template="'v1ProjectTooltipTemplate'"
tooltip-append-to-body="true"
)
span.project-list-table-name
if hasFeature('force-import-to-v2')
a.projectName(href='/{{project.id}}') {{project.name}}
else
button.btn.btn-link.projectName(
ng-click="openV1ImportModal(project)"
stop-propagation="click"
ng-show="project.accessLevel == 'owner'"
) {{project.name}}
a.projectName(
href='/sign_in_to_v1?return_to=/{{project.id}}'
target="_blank"
ng-hide="project.accessLevel == 'owner'"
) {{project.name}}
td.project-list-table-owner-cell
span.owner {{ownerName(project)}}
td.project-list-table-lastupdated-cell(
ng-if-end
colspan="2"
)
span.last-modified(tooltip="{{project.lastUpdated | formatDate}}") {{project.lastUpdated | fromNowDate}}