Changeset 3a8344c in indico


Ignore:
Timestamp:
08/08/11 16:10:33 (22 months ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
407709
Parents:
f4e021
git-author:
Jurand Nogiec <jurand.nogiec@…> (06/27/11 15:29:21)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (08/08/11 16:10:33)
Message:

[IMP] Added change archiving volume in admin panel

Closes #791

Location:
indico/MaKaC/webinterface
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/rh/admins.py

    r8539af r3a8344c  
    635635        RHAdminBase._checkParams( self, params ) 
    636636        self._action = params.get("action", None) 
     637        self._volume = params.get("volume", None) 
    637638        self._proxy = False 
    638639        if params.get("proxy", False): 
     
    642643        if self._action == "ok": 
    643644            self._minfo.setProxy(self._proxy) 
     645            self._minfo.setArchivingVolume(self._volume) 
    644646            self._redirect(urlHandlers.UHAdminsSystem.getURL()) 
    645647        elif self._action == "cancel": 
  • indico/MaKaC/webinterface/tpls/AdminsSystem.tpl

    rc0de5a r3a8344c  
    1515        </form> 
    1616      </td> 
     17    <tr> 
     18      <td nowrap class="titleCellTD"><span class="titleCellFormat">${ _("Archiving Volume")}</span></td> 
     19      <td bgcolor="white" width="100%" valign="top" class="blacktext">${ minfo.getArchivingVolume() }</td> 
     20    </tr> 
    1721    </tr> 
    1822    </table> 
  • indico/MaKaC/webinterface/tpls/AdminsSystemModif.tpl

    rc0de5a r3a8344c  
    1616        <input type="checkbox" size="50" name="proxy" value="True" ${ ("", "checked")[minfo.useProxy()] }> 
    1717        <small>${ _("Check it if users connect to a proxy to access Indico (load balancing)")}</small> 
     18      </td> 
     19    </tr> 
     20    <tr> 
     21      <td nowrap class="titleCellTD"><span class="titleCellFormat">${ _("Archiving Volume")}</span></td> 
     22      <td bgcolor="white" width="100%">&nbsp; 
     23        <input type="text" size="50" name="volume" value="${ minfo.getArchivingVolume() }"> 
    1824      </td> 
    1925    </tr> 
Note: See TracChangeset for help on using the changeset viewer.