mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-29 12:53:15 +00:00
Merge pull request #1338 from sharelatex/as-remove-import-modal
Don't show project import modal if feature flag is set GitOrigin-RevId: f48d5e5cc795030d6c3332f5fde744d2e67f6366
This commit is contained in:
parent
ccb9ae6317
commit
9737a04125
1 changed files with 13 additions and 10 deletions
|
@ -7,16 +7,19 @@
|
||||||
)
|
)
|
||||||
span
|
span
|
||||||
if settings.overleaf && settings.overleaf.host
|
if settings.overleaf && settings.overleaf.host
|
||||||
button.btn.btn-link.projectName(
|
if hasFeature('force-import-to-v2')
|
||||||
ng-click="openV1ImportModal(project)"
|
a.projectName(href='/{{project.id}}') {{project.name}}
|
||||||
stop-propagation="click"
|
else
|
||||||
ng-show="project.accessLevel == 'owner'"
|
button.btn.btn-link.projectName(
|
||||||
) {{project.name}}
|
ng-click="openV1ImportModal(project)"
|
||||||
a.projectName(
|
stop-propagation="click"
|
||||||
href='/sign_in_to_v1?return_to=/{{project.id}}'
|
ng-show="project.accessLevel == 'owner'"
|
||||||
target="_blank"
|
) {{project.name}}
|
||||||
ng-hide="project.accessLevel == 'owner'"
|
a.projectName(
|
||||||
) {{project.name}}
|
href='/sign_in_to_v1?return_to=/{{project.id}}'
|
||||||
|
target="_blank"
|
||||||
|
ng-hide="project.accessLevel == 'owner'"
|
||||||
|
) {{project.name}}
|
||||||
|
|
||||||
.col-xs-2
|
.col-xs-2
|
||||||
span.owner {{ownerName()}}
|
span.owner {{ownerName()}}
|
||||||
|
|
Loading…
Reference in a new issue