summaryrefslogtreecommitdiffstats
path: root/authentic/admin/settings.ptl
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2008-12-03 09:28:27 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2008-12-03 09:28:27 (GMT)
commit142ac8343cdb8a3a84f3739a1dde21d10a0d2272 (patch)
treea3e5b9e470e02d5b772e2d0e07a8725edff6432c /authentic/admin/settings.ptl
parent379a7fcffb77c5a065b199a6e39982a8f9212f1d (diff)
downloadauthentic-old-142ac8343cdb8a3a84f3739a1dde21d10a0d2272.zip
authentic-old-142ac8343cdb8a3a84f3739a1dde21d10a0d2272.tar.gz
authentic-old-142ac8343cdb8a3a84f3739a1dde21d10a0d2272.tar.bz2
display a message on successful metadata update from remote
Diffstat (limited to 'authentic/admin/settings.ptl')
-rw-r--r--authentic/admin/settings.ptl8
1 files changed, 7 insertions, 1 deletions
diff --git a/authentic/admin/settings.ptl b/authentic/admin/settings.ptl
index 78aab5f..8af3105 100644
--- a/authentic/admin/settings.ptl
+++ b/authentic/admin/settings.ptl
@@ -10,7 +10,7 @@ import tempfile
import lasso
-from quixote import get_request, get_response, redirect, get_publisher
+from quixote import get_request, get_response, redirect, get_publisher, get_session
from quixote.directory import Directory
from quixote.html import htmltext
from quixote.util import dump_request
@@ -431,6 +431,9 @@ class LibertyProviderUI(Directory):
p, label = misc.get_provider_and_label(self.lpk)
html_top('settings', title = _('Liberty Provider - %s') % label)
'<h2>%s</h2>' % _('Liberty Provider - %s') % label
+
+ get_session().display_message()
+
'<div class="form">'
'<div class="title">%s</div>' % _('Provider ID')
@@ -659,6 +662,9 @@ class LibertyProviderUI(Directory):
get_publisher().write_cfg()
+ get_session().message = ('info',
+ _('Provider Metadata have been updated from their remote location.'))
+
return redirect('../%s/' % key_provider_id)