Changeset be157b in indico


Ignore:
Timestamp:
12/05/11 17:33:19 (19 months ago)
Author:
Pedro Ferreira <jose.pedro.ferreira@…>
Branches:
master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 10eafd9ae230cbad5d99d5aaf22c24724fb6c98f
Children:
f95278
Parents:
7c0515
git-author:
Adrian Moennich <jerome.ernst.monnich@…> (09/27/11 10:35:27)
git-committer:
Pedro Ferreira <jose.pedro.ferreira@…> (12/05/11 17:33:19)
Message:

[IMP] Warning when new subcat will move events

Location:
indico/MaKaC/webinterface
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/pages/category.py

    re5e5df rbe157b  
    16471647        else : 
    16481648            vars["categProtection"] = "public" 
     1649        vars["numConferences"] = len(self.__target.conferences) 
    16491650 
    16501651        return vars 
  • indico/MaKaC/webinterface/tpls/CategoryCreation.tpl

    rc0de5a rbe157b  
    5757            </td> 
    5858        </tr> 
     59        % if numConferences: 
     60            <tr> 
     61                <td colspan="2"> 
     62                    <p class="warningText">${_('Warning: The parent category contains %d events which will be moved to the new sub-category.') % numConferences}</p> 
     63                </td> 
     64            </tr> 
     65        % endif 
    5966        <tr> 
    6067            <td>&nbsp;</td> 
Note: See TracChangeset for help on using the changeset viewer.