Revert "Go back to allowing v1 projects to be imported"

This commit is contained in:
James Allen 2018-01-23 11:49:33 +00:00 committed by GitHub
parent a5195fcbc3
commit ce9a1fec87
2 changed files with 15 additions and 14 deletions

View file

@ -1,5 +1,4 @@
.col-xs-6 .col-xs-6
.select-item
span.v1-badge( span.v1-badge(
aria-label=translate("v1_badge") aria-label=translate("v1_badge")
tooltip-template="'v1ProjectTooltipTemplate'" tooltip-template="'v1ProjectTooltipTemplate'"
@ -7,10 +6,15 @@
) )
span span
if settings.overleaf && settings.overleaf.host if settings.overleaf && settings.overleaf.host
button.btn.btn-link.projectName( a.projectName(
ng-click="openV1ImportModal(project)" href=settings.overleaf.host + "/{{project.id}}"
stop-propagation="click" target="_blank"
) {{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,10 +336,6 @@ 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 {
@ -377,7 +373,8 @@ ul.project-list {
} }
.v1-badge { .v1-badge {
margin-left: -4px; margin-right: 9px;
margin-left: 7px;
} }
} }
i.tablesort { i.tablesort {