[PATCH saem] [views] Reintroduce link to site info view

Sylvain Thenault sylvain.thenault at logilab.fr
Tue Apr 25 15:07:13 CEST 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1492789502 -7200
#      Fri Apr 21 17:45:02 2017 +0200
# Node ID 93f538f96803b423850adfc651e49031ec153dbe
# Parent  390a4f075ad402d3fc81dbb7e45f1634efa58e30
# Available At http://hg.logilab.org/review/cubes/saem_ref
#              hg pull http://hg.logilab.org/review/cubes/saem_ref -r 93f538f96803
[views] Reintroduce link to site info view

Closes extranet #18554125

diff --git a/cubicweb_saem_ref/views/__init__.py b/cubicweb_saem_ref/views/__init__.py
--- a/cubicweb_saem_ref/views/__init__.py
+++ b/cubicweb_saem_ref/views/__init__.py
@@ -439,11 +439,11 @@ class URLAttributeView(primary.URLAttrib
         if url:
             self.w(u'<a href="%s">%s</a>' % (url, url))
 
 
 def registration_callback(vreg):
-    from cubicweb.web.views import actions, cwuser, debug, tableview, undohistory
+    from cubicweb.web.views import actions, cwuser, tableview, undohistory
     vreg.register_all(globals().values(), __name__, (URLAttributeView, SAEMHTMLPageFooter,))
     vreg.register_and_replace(URLAttributeView, primary.URLAttributeView)
     vreg.register_and_replace(SAEMHTMLPageFooter, basetemplates.HTMLPageFooter)
     vreg.unregister(tableview.TableView)
     vreg.unregister(undohistory.UndoHistoryView)
@@ -460,9 +460,8 @@ def registration_callback(vreg):
     vreg.unregister(actions.ManageAction)
     vreg.unregister(actions.PoweredByAction)
     vreg.unregister(cwuser.UserPreferencesEntityAction)
     # global actions
     vreg.unregister(actions.SiteConfigurationAction)
-    vreg.unregister(debug.SiteInfoAction)
 
     for menu_entry in main_navigation_menu():
         vreg.register(menu_entry)


More information about the saem-devel mailing list