Merge pull request #290 from sharelatex/revert-258-ja-allow-v1-imports

Revert "Go back to allowing v1 projects to be imported"
This commit is contained in:
James Allen 2018-01-23 11:51:37 +00:00 committed by GitHub
commit 08593f1f4b
2 changed files with 15 additions and 14 deletions

View file

@ -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()}}

View file

@ -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 {