Changeset 3405 in products
- Timestamp:
- Apr 3, 2012 3:36:19 PM (13 years ago)
- Location:
- quintagroup.plonegooglesitemaps/branches/1.7.1
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonegooglesitemaps/branches/1.7.1/docs/HISTORY.txt
r3311 r3405 1 1 Changelog 2 2 ========= 3 4 1.7.1 - unreleased 5 ------------------ 6 7 * Added deleting (button) the verification file 8 [potar] 9 10 * Updated view quintagroup.plonegooglesitemaps (tabs) 11 [potar] 3 12 4 13 1.7.0 (2011-10-28) -
quintagroup.plonegooglesitemaps/branches/1.7.1/quintagroup/plonegooglesitemaps/browser/configletview.py
r3399 r3405 5 5 from OFS.ObjectManager import BadRequestException 6 6 from Products.Five import BrowserView 7 8 import urlparse 7 9 8 10 … … 144 146 return (size, entries) 145 147 146 def delete VerificationFile(self):148 def deleteGSMVerificationFile(self): 147 149 portal = self.pps.portal() 148 150 portal.manage_delObjects([self.request.id, ]) 149 if 'HTTP_REFERER' in self.request.keys(): 150 url = self.request.HTTP_REFERER 151 else: 152 url = self.context + 'prefs_gsm_verification' 153 self.request.RESPONSE.redirect(url) 151 self.request.RESPONSE.redirect( 152 urlparse.urljoin(self.context.absolute_url, 153 'prefs_gsm_verification')) 154 154 155 155 def getVerificationFiles(self): -
quintagroup.plonegooglesitemaps/branches/1.7.1/quintagroup/plonegooglesitemaps/browser/configure.zcml
r3397 r3405 52 52 <browser:page 53 53 for="Products.CMFPlone.interfaces.IPloneSiteRoot" 54 name="delete VerificationFile"54 name="deleteGSMVerificationFile" 55 55 class=".configletview.ConfigletSettingsView" 56 56 permission="cmf.ManagePortal" 57 attribute="delete VerificationFile"57 attribute="deleteGSMVerificationFile" 58 58 /> 59 59 60 60 <browser:resource 61 name=" trash.gif"62 image=" ./images/trash.gif"61 name="quintagroup.plonegooglesitemaps.trash.gif" 62 image="images/trash.gif" 63 63 layer="quintagroup.plonegooglesitemaps.interfaces.IGoogleSitemapsLayer" 64 64 permission="cmf.ManagePortal" … … 66 66 67 67 <browser:resource 68 name=" verify_file.css"68 name="quintagroup.plonegooglesitemaps.verify_file.css" 69 69 file="resources/verify_file.css" 70 70 layer="quintagroup.plonegooglesitemaps.interfaces.IGoogleSitemapsLayer" -
quintagroup.plonegooglesitemaps/branches/1.7.1/quintagroup/plonegooglesitemaps/browser/resources/verify_file.css
r3397 r3405 1 1 .delete { 2 background:url(++resource++ trash.gif) 5px 50% no-repeat;2 background:url(++resource++quintagroup.plonegooglesitemaps.trash.gif) 5px 50% no-repeat; 3 3 display:none; 4 4 font-size:80%; -
quintagroup.plonegooglesitemaps/branches/1.7.1/quintagroup/plonegooglesitemaps/profiles/default/cssregistry.xml
r3397 r3405 2 2 <object name="portal_css"> 3 3 <stylesheet 4 id="++resource++ verify_file.css"4 id="++resource++quintagroup.plonegooglesitemaps.verify_file.css" 5 5 media="" rel="stylesheet" rendering="import" 6 6 cacheable="True" compression="safe" cookable="True" -
quintagroup.plonegooglesitemaps/branches/1.7.1/quintagroup/plonegooglesitemaps/skins/plonegooglesitemaps/prefs_gsm_verification.cpt
r3397 r3405 18 18 <li class=""> 19 19 <a href="" 20 tal:attributes="href string: prefs_gsm_overview"20 tal:attributes="href string: ${context/absolute_url}/prefs_gsm_overview" 21 21 i18n:translate="label_properties">Overview</a> 22 22 </li> … … 24 24 <li class="selected"> 25 25 <a href="" 26 tal:attributes="href string: ${template/id}"26 tal:attributes="href string: ${context/absolute_url}/${template/id}" 27 27 i18n:translate="label_properties">Verification</a> 28 28 </li> … … 30 30 <li class=""> 31 31 <a href="" 32 tal:attributes="href string: prefs_gsm_settings">32 tal:attributes="href string: ${context/absolute_url}/prefs_gsm_settings"> 33 33 Settings</a> 34 34 </li> … … 80 80 <a tal:attributes="href string: ${vf/id}" tal:content="vf/id"></a> 81 81 <span tal:replace="string: (${vf/title})">comment to verification file</span> 82 <a tal:attributes="href string: ${context/absolute_url}/@@delete VerificationFile?id=${vf/id}; class string:delete">Delete</a>82 <a tal:attributes="href string: ${context/absolute_url}/@@deleteGSMVerificationFile?id=${vf/id}; class string:delete">Delete</a> 83 83 </li></ul> 84 84 </li> -
quintagroup.plonegooglesitemaps/branches/1.7.1/setup.py
r3311 r3405 3 3 import os 4 4 5 version = '1.7. 0'5 version = '1.7.1' 6 6 7 7 tests_require = ['zope.testing',
Note: See TracChangeset
for help on using the changeset viewer.