fixed article creation
This commit is contained in:
@@ -98,7 +98,11 @@
|
|||||||
<p class="text-center">© 2017 - Phuoc Cao |
|
<p class="text-center">© 2017 - Phuoc Cao |
|
||||||
<a href="${request.application_url}/apropos">à propos</a> |
|
<a href="${request.application_url}/apropos">à propos</a> |
|
||||||
<a href="${request.application_url}/doc_search">recherche</a>
|
<a href="${request.application_url}/doc_search">recherche</a>
|
||||||
<a href="${request.application_url}/login" tal:condition="layout.isAnonymous()"> | se connecter | </a>
|
<span tal:condition="layout.isAnonymous()">
|
||||||
|
|
|
||||||
|
<a href="${request.application_url}/login">se connecter</a>
|
||||||
|
|
|
||||||
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ def doc_edit(request):
|
|||||||
if doc_id != '0':
|
if doc_id != '0':
|
||||||
return HTTPFound(location=request.route_url('doc_view', doc_id=doc_id))
|
return HTTPFound(location=request.route_url('doc_view', doc_id=doc_id))
|
||||||
else:
|
else:
|
||||||
return HTTPFound(location=request.route_url('archives',theme=doc.theme))
|
return HTTPFound(location=request.route_url('archives',theme=theme))
|
||||||
else:
|
else:
|
||||||
message = "Veuillez saisir un intitule et un texte."
|
message = "Veuillez saisir un intitule et un texte."
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user