forked from ScoDoc/DocScoDoc
about: demande login
This commit is contained in:
parent
54b714fdbc
commit
6b1ccfe400
@ -58,8 +58,8 @@
|
||||
</div> -->
|
||||
|
||||
<div style="margin-top: 1cm;">
|
||||
Service réservé aux personnels et enseignants, basé sur <a href="{{url_for('scodoc.about')}}">le logiciel libre
|
||||
ScoDoc.</a>
|
||||
Service <b>réservé aux personnels et enseignants</b>, basé sur
|
||||
<a href="{{scu.SCO_WEBSITE}}">le logiciel libre ScoDoc.</a>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
@ -90,6 +90,7 @@ def index():
|
||||
current_app=flask.current_app,
|
||||
depts=depts,
|
||||
Permission=Permission,
|
||||
scu=scu,
|
||||
)
|
||||
|
||||
|
||||
@ -204,6 +205,7 @@ def search_inscr_etud_by_nip(code_nip, format="json", __ac_name="", __ac_passwor
|
||||
|
||||
@bp.route("/ScoDoc/about")
|
||||
@bp.route("/ScoDoc/Scolarite/<scodoc_dept>/about")
|
||||
@login_required
|
||||
def about(scodoc_dept=None):
|
||||
"version info"
|
||||
return render_template(
|
||||
|
Loading…
Reference in New Issue
Block a user