From ce9a1fec871c1b6c20f4f32ddb73542622e16a62 Mon Sep 17 00:00:00 2001 From: James Allen Date: Tue, 23 Jan 2018 11:49:33 +0000 Subject: [PATCH] Revert "Go back to allowing v1 projects to be imported" --- .../web/app/views/project/list/v1-item.pug | 22 +++++++++++-------- .../public/stylesheets/app/project-list.less | 7 ++---- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/services/web/app/views/project/list/v1-item.pug b/services/web/app/views/project/list/v1-item.pug index 4fcbe96ad7..31fd036f7a 100644 --- a/services/web/app/views/project/list/v1-item.pug +++ b/services/web/app/views/project/list/v1-item.pug @@ -1,16 +1,20 @@ .col-xs-6 - .select-item - span.v1-badge( - aria-label=translate("v1_badge") - tooltip-template="'v1ProjectTooltipTemplate'" - tooltip-append-to-body="true" - ) + span.v1-badge( + aria-label=translate("v1_badge") + tooltip-template="'v1ProjectTooltipTemplate'" + tooltip-append-to-body="true" + ) span if settings.overleaf && settings.overleaf.host - button.btn.btn-link.projectName( - ng-click="openV1ImportModal(project)" - stop-propagation="click" + a.projectName( + href=settings.overleaf.host + "/{{project.id}}" + target="_blank" ) {{project.name}} + //- To re-enable the import dialog (may need style changing for padding/line-height): + //- button.btn.btn-link.projectName( + //- ng-click="openV1ImportModal(project)" + //- stop-propagation="click" + //- ) {{project.name}} .col-xs-2 span.owner {{ownerName()}} diff --git a/services/web/public/stylesheets/app/project-list.less b/services/web/public/stylesheets/app/project-list.less index fc6777dea8..3a5ea560db 100644 --- a/services/web/public/stylesheets/app/project-list.less +++ b/services/web/public/stylesheets/app/project-list.less @@ -336,10 +336,6 @@ ul.project-list { } .projectName { margin-right: @line-height-computed / 4; - padding: 0; - vertical-align: inherit; - white-space: normal; - text-align: left; } .tag-label { @@ -377,7 +373,8 @@ ul.project-list { } .v1-badge { - margin-left: -4px; + margin-right: 9px; + margin-left: 7px; } } i.tablesort {