Go back to allowing v1 projects to be imported

This commit is contained in:
James Allen 2018-01-12 11:44:58 +00:00
parent 6d04eeaa03
commit c466025df4
2 changed files with 14 additions and 15 deletions

View file

@ -1,20 +1,16 @@
.col-xs-6 .col-xs-6
span.v1-badge( .select-item
aria-label=translate("v1_badge") span.v1-badge(
tooltip-template="'v1ProjectTooltipTemplate'" aria-label=translate("v1_badge")
tooltip-append-to-body="true" tooltip-template="'v1ProjectTooltipTemplate'"
) tooltip-append-to-body="true"
)
span span
if settings.overleaf && settings.overleaf.host if settings.overleaf && settings.overleaf.host
a.projectName( button.btn.btn-link.projectName(
href=settings.overleaf.host + "/{{project.id}}" ng-click="openV1ImportModal(project)"
target="_blank" stop-propagation="click"
) {{project.name}} ) {{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 .col-xs-2
span.owner {{ownerName()}} span.owner {{ownerName()}}

View file

@ -336,6 +336,10 @@ ul.project-list {
} }
.projectName { .projectName {
margin-right: @line-height-computed / 4; margin-right: @line-height-computed / 4;
padding: 0;
vertical-align: inherit;
white-space: normal;
text-align: left;
} }
.tag-label { .tag-label {
@ -373,8 +377,7 @@ ul.project-list {
} }
.v1-badge { .v1-badge {
margin-right: 9px; margin-left: -4px;
margin-left: 7px;
} }
} }
i.tablesort { i.tablesort {