projects
/
django_unres.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lazy_user singe job only
[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
43dc57d
..
d974976
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,7
+19,7
@@
<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>
+ <h1><a href="/">UNRES server</a> <small> (beta version with debug)</small></h1>
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>
@@
-28,9
+29,16
@@
<div class="user-name">
{% if not user.is_anonymous %}
<strong>Logged as: </strong> {{user}}
<div class="user-name">
{% if not user.is_anonymous %}
<strong>Logged as: </strong> {{user}}
+ {% if user|is_lazy_user %}
+ <a href="/logout" title="Log out and delete data"><span class="fa fa-sign-out"></span></a>
+ {% else %}
<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 %}