Don't show import dialog for projects, just link to v1 editor

This commit is contained in:
James Allen 2018-01-03 16:43:15 +00:00
parent 8b9f3268b1
commit f0d7658bdd
2 changed files with 8 additions and 7 deletions

View file

@ -5,10 +5,15 @@
tooltip-append-to-body="true" tooltip-append-to-body="true"
) )
span span
button.btn.btn-link.v1ProjectName( 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:
//- a.projectName(
//- ng-click="openV1ImportModal(project)"
//- stop-propagation="click"
//- ) {{project.name}}
.col-xs-2 .col-xs-2
span.owner {{ownerName()}} span.owner {{ownerName()}}

View file

@ -337,10 +337,6 @@ ul.project-list {
.projectName { .projectName {
margin-right: @line-height-computed / 4; margin-right: @line-height-computed / 4;
} }
.v1ProjectName {
margin-right: @line-height-computed / 4;
padding: 0;
}
.tag-label { .tag-label {
margin-left: @line-height-computed / 4; margin-left: @line-height-computed / 4;