Changeset 61ed1b in indico
- Timestamp:
- 04/23/12 14:39:56 (14 months ago)
- Branches:
- master, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 36509dd327b5670bb394f5ec070c14653b4c9c19
- Children:
- d1b306
- Parents:
- c60e4da
- git-author:
- Claude Bossy <claude.bossy@…> (02/22/12 11:05:42)
- git-committer:
- Pedro Ferreira <jose.pedro.ferreira@…> (04/23/12 14:39:56)
- File:
-
- 1 edited
-
indico/MaKaC/webinterface/wcomponents.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/webinterface/wcomponents.py
rc60e4da r61ed1b 473 473 474 474 # Default values to avoid NameError while executing the template 475 styleMgr = info.HelperMaKaCInfo.getMaKaCInfoInstance().getStyleManager() 476 styles = styleMgr.getExistingStylesForEventType("conference") 477 475 478 vars["viewoptions"] = [] 479 viewoptions = [] 480 if len(styles) != 0: 481 styles.sort(key=styleMgr.getStyleName) 482 for styleId in styles: 483 viewoptions.append({"id": styleId, "name": styleMgr.getStyleName(styleId) }) 484 vars["viewoptions"] = viewoptions 476 485 vars["SelectedStyle"] = "" 477 486 vars["pdfURL"] = "" 478 vars["displayURL"] = ""487 vars["displayURL"] = str(urlHandlers.UHConferenceOtherViews.getURL()) 479 488 480 489 # Setting the buttons that will be displayed in the header menu … … 484 493 vars["showExportToPDF"] = False 485 494 vars["showDLMaterial"] = True 486 vars["showLayout"] = False495 vars["showLayout"] = True 487 496 488 497 vars["usingModifKey"]=False
Note: See TracChangeset
for help on using the changeset viewer.
