[silvatheme.infraemobile][Sylvain Viollon] Remove crappy links.

[email protected] Thu, 05 Dec 2013 17:13:11 +0100
Newsgroups gmane.comp.web.zope.silva.cvs
Message-ID <[email protected]>
author:    Sylvain Viollon
date:      Thu Dec 05 17:12:46 2013 +0100
revision:  192:36110ad44afc in silvatheme.infraemobile
branch:    2.4
details:   https://hg.infrae.com/silvatheme.infraemobile?cmd=changeset;node=36110ad44afc
modified:  src/silvatheme/infraemobile/layout_templates/homelink.cpt src/silvatheme/infraemobile/layout_templates/nav.cpt
added:     
removed:   
log:       Remove crappy links.


diffstat:

 src/silvatheme/infraemobile/layout_templates/homelink.cpt |  2 +-
 src/silvatheme/infraemobile/layout_templates/nav.cpt      |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 869ba8debaca -r 36110ad44afc src/silvatheme/infraemobile/layout_templates/homelink.cpt
--- a/src/silvatheme/infraemobile/layout_templates/homelink.cpt	Thu Dec 05 16:06:08 2013 +0100
+++ b/src/silvatheme/infraemobile/layout_templates/homelink.cpt	Thu Dec 05 17:12:46 2013 +0100
@@ -1,5 +1,5 @@
 <div class="bc home">
-  <a href="http://infrae.com/?__no_redirect=yes">
+  <a href="http://infrae.com">
     Go to desktop site
   </a>
 </div>
diff -r 869ba8debaca -r 36110ad44afc src/silvatheme/infraemobile/layout_templates/nav.cpt
--- a/src/silvatheme/infraemobile/layout_templates/nav.cpt	Thu Dec 05 16:06:08 2013 +0100
+++ b/src/silvatheme/infraemobile/layout_templates/nav.cpt	Thu Dec 05 17:12:46 2013 +0100
@@ -17,7 +17,7 @@
         <div class="nav_button">
           <a class="nav_button"
             tal:define="locator path:context/@@absolute_url"
-            tal:attributes="href locator.replace('://m.', '://') + '?__no_redirect=yes'">
+            tal:attributes="href locator.replace('://m.', '://')">
             View this page on the desktop site
           </a>
         </div>