mirror of
https://git.unistra.fr/aius/root/ldap-overleaf-sl.git
synced 2025-05-04 11:45:26 +02:00
fixes #35
This commit is contained in:
parent
53de1d0c86
commit
f4122f50e2
2 changed files with 8 additions and 6 deletions
|
@ -56,11 +56,13 @@ RUN sed -iE "s/email@example.com/${login_text:-user}/g" /overleaf/services/web/a
|
||||||
if [ "${admin_is_sysadmin}" = "true" ] ; \
|
if [ "${admin_is_sysadmin}" = "true" ] ; \
|
||||||
then cp /tmp/admin-sysadmin.pug /overleaf/services/web/app/views/admin/index.pug ; \
|
then cp /tmp/admin-sysadmin.pug /overleaf/services/web/app/views/admin/index.pug ; \
|
||||||
else rm /tmp/admin-sysadmin.pug ; \
|
else rm /tmp/admin-sysadmin.pug ; \
|
||||||
fi && \
|
fi
|
||||||
rm /overleaf/services/web/modules/user-activate/app/views/user/register.pug && \
|
# This seems to be fixed in Sharelatex 4.
|
||||||
|
# && \
|
||||||
|
# rm /overleaf/services/web/modules/user-activate/app/views/user/register.pug && \
|
||||||
### To remove comments entirly (bug https://github.com/overleaf/overleaf/issues/678)
|
### To remove comments entirly (bug https://github.com/overleaf/overleaf/issues/678)
|
||||||
rm /overleaf/services/web/app/views/project/editor/review-panel.pug && \
|
#rm /overleaf/services/web/app/views/project/editor/review-panel.pug && \
|
||||||
touch /overleaf/services/web/app/views/project/editor/review-panel.pug
|
#touch /overleaf/services/web/app/views/project/editor/review-panel.pug
|
||||||
|
|
||||||
|
|
||||||
### Nginx and Certificates
|
### Nginx and Certificates
|
||||||
|
|
|
@ -43,8 +43,8 @@
|
||||||
< meta(name="ol-emailAddressLimit", data-type="json", content=emailAddressLimit)
|
< meta(name="ol-emailAddressLimit", data-type="json", content=emailAddressLimit)
|
||||||
< meta(name="ol-currentManagedUserAdminEmail" data-type="string" content=currentManagedUserAdminEmail)
|
< meta(name="ol-currentManagedUserAdminEmail" data-type="string" content=currentManagedUserAdminEmail)
|
||||||
---
|
---
|
||||||
> if hasFeature('affiliations')
|
>
|
||||||
> include settings/user-affiliations
|
>
|
||||||
30,31c19,178
|
30,31c19,178
|
||||||
< block content
|
< block content
|
||||||
< main.content.content-alt#settings-page-root
|
< main.content.content-alt#settings-page-root
|
||||||
|
|
Loading…
Add table
Reference in a new issue