Merge pull request #248 from sharelatex/ja-disable-import-dialog

Don't show import dialog for projects, just link to v1 editor
This commit is contained in:
James Allen 2018-01-04 15:22:48 +00:00 committed by GitHub
commit e58f6cab47
2 changed files with 8 additions and 7 deletions

View file

@ -5,10 +5,15 @@
tooltip-append-to-body="true"
)
span
button.btn.btn-link.v1ProjectName(
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

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