mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
21 lines
697 B
Diff
21 lines
697 B
Diff
|
--- new-file-modal.pug
|
||
|
+++ new-file-modal.pug
|
||
|
@@ -21,11 +21,12 @@ script(type='text/ng-template', id='newFileModalTemplate')
|
||
|
i.fa.fa-fw.fa-folder-open
|
||
|
|
|
||
|
| From Another Project
|
||
|
- li(ng-class="type == 'url' ? 'active' : null")
|
||
|
- a(href, ng-click="type = 'url'")
|
||
|
- i.fa.fa-fw.fa-globe
|
||
|
- |
|
||
|
- | From External URL
|
||
|
+ if hasFeature('link-url')
|
||
|
+ li(ng-class="type == 'url' ? 'active' : null")
|
||
|
+ a(href, ng-click="type = 'url'")
|
||
|
+ i.fa.fa-fw.fa-globe
|
||
|
+ |
|
||
|
+ | From External URL
|
||
|
!= moduleIncludes("newFileModal:selector", locals)
|
||
|
|
||
|
td(class="modal-new-file--body modal-new-file--body-{{type}}")
|