Renommage du template pour organigrammes
authorJean-Philippe Caissy <jpcaissy@piji.ca>
Wed, 7 Mar 2012 17:03:24 +0000 (11:03 -0600)
committerJean-Philippe Caissy <jpcaissy@piji.ca>
Wed, 7 Mar 2012 17:03:24 +0000 (11:03 -0600)
project/rh/templates/rh/organigrammes/service.html [deleted file]
project/rh/templates/rh/organigrammes/vide.html [new file with mode: 0644]
project/rh/views.py

diff --git a/project/rh/templates/rh/organigrammes/service.html b/project/rh/templates/rh/organigrammes/service.html
deleted file mode 100644 (file)
index 221d7c5..0000000
+++ /dev/null
@@ -1 +0,0 @@
-{{ svg|safe }}
diff --git a/project/rh/templates/rh/organigrammes/vide.html b/project/rh/templates/rh/organigrammes/vide.html
new file mode 100644 (file)
index 0000000..221d7c5
--- /dev/null
@@ -0,0 +1 @@
+{{ svg|safe }}
index 6c5bddf..fa8addf 100644 (file)
@@ -541,7 +541,7 @@ def organigrammes_service(request, id):
         'svg': svg
     }
 
-    return render_to_response('rh/organigrammes/service.html', c, RequestContext(request), mimetype="image/svg+xml")
+    return render_to_response('rh/organigrammes/vide.html', c, RequestContext(request), mimetype="image/svg+xml")
 
 @login_required
 @drh_or_admin_required
@@ -557,5 +557,5 @@ def organigrammes_implantation(request, id):
         'svg': svg
     }
 
-    return render_to_response('rh/organigrammes/service.html', c, RequestContext(request), mimetype="image/svg+xml")
+    return render_to_response('rh/organigrammes/vide.html', c, RequestContext(request), mimetype="image/svg+xml")