mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
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:
commit
e58f6cab47
2 changed files with 8 additions and 7 deletions
|
@ -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()}}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue