projects
/
django_unres.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
example re 1e0g correction
[django_unres.git]
/
django_simple
/
todo
/
templates
/
base.html
diff --git
a/django_simple/todo/templates/base.html
b/django_simple/todo/templates/base.html
index
8aabba7
..
310cfef
100644
(file)
--- a/
django_simple/todo/templates/base.html
+++ b/
django_simple/todo/templates/base.html
@@
-1,4
+1,5
@@
{% load staticfiles %}
{% load staticfiles %}
+{% load i18n lazysignup_tags %}
<!DOCTYPE html>
<html>
<head>
<!DOCTYPE html>
<html>
<head>
@@
-18,19
+19,33
@@
<div class="col-sm-6 col-sm-offset-3">
<div class="page-header">
<div class="col-sm-6 col-sm-offset-3">
<div class="page-header">
- <h1><a href="/">UNRES server</a> <small> (beta version)</small></h1>
-
+ {% if not user|is_lazy_user %}
+ <h1><a href="/">UNRES server</a> <small> (beta version with debug)</small></h1>
+ {% else %}
+ <h1>UNRES server <small> (beta version with debug)</small></h1>
+ {% endif %}
Lab. of Simul. of Polym. & Lab. of Mol. Model, Faculty of Chemistry, University of Gdansk
<br>
Lab. of Simul. of Polym. & Lab. of Mol. Model, Faculty of Chemistry, University of Gdansk
<br>
- Ver.24.08.2017 <span class="fa fa-envelope-o"></span>
+ Ver.20.11.2017 <span class="fa fa-envelope-o"></span>
cezary.czaplewski<span class="fa fa-at"></span>ug.edu.pl
<div class="user-name">
{% if not user.is_anonymous %}
cezary.czaplewski<span class="fa fa-at"></span>ug.edu.pl
<div class="user-name">
{% if not user.is_anonymous %}
- <strong>Logged as: </strong> {{user}}
+
+ {% if user|is_lazy_user %}
+ <strong>Return to job submission page </strong>
+ <a href="/logout" title="next job"><span class="fa fa-sign-out"></span></a>
+ {% else %}
+ <strong>Logged as: </strong> {{user}}
<a href="/logout" title="Log out"><span class="fa fa-sign-out"></span></a>
<a href="/logout" title="Log out"><span class="fa fa-sign-out"></span></a>
+ {% endif %}
{% endif %}
</div>
{% endif %}
</div>
+<!--
+ {% if user|is_lazy_user %}
+ <a href="/convert" title="Convert to save your data">Convert to regular user</a>
+ {% endif %}
+-->
</div>
{% block content %}
</div>
{% block content %}