mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
9737a04125
Don't show project import modal if feature flag is set GitOrigin-RevId: f48d5e5cc795030d6c3332f5fde744d2e67f6366
28 lines
No EOL
856 B
Text
28 lines
No EOL
856 B
Text
.col-xs-6.col-sm-4.col-md-6
|
|
.select-item
|
|
span.v1-badge(
|
|
aria-label=translate("v1_badge")
|
|
tooltip-template="'v1ProjectTooltipTemplate'"
|
|
tooltip-append-to-body="true"
|
|
)
|
|
span
|
|
if settings.overleaf && settings.overleaf.host
|
|
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}}
|
|
|
|
.col-xs-2
|
|
span.owner {{ownerName()}}
|
|
|
|
.col-xs-4.col-sm-3.col-md-2
|
|
span.last-modified(tooltip="{{project.lastUpdated | formatDate}}") {{project.lastUpdated | fromNowDate}} |