equal
deleted
inserted
replaced
55 % ':'.join(req.search_state[1])) |
55 % ':'.join(req.search_state[1])) |
56 self.w(u'</form></div>') |
56 self.w(u'</form></div>') |
57 |
57 |
58 |
58 |
59 class ApplLogo(component.Component): |
59 class ApplLogo(component.Component): |
60 """build the application logo, usually displayed in the header""" |
60 """build the instance logo, usually displayed in the header""" |
61 id = 'logo' |
61 id = 'logo' |
62 property_defs = VISIBLE_PROP_DEF |
62 property_defs = VISIBLE_PROP_DEF |
63 # don't want user to hide this component using an cwproperty |
63 # don't want user to hide this component using an cwproperty |
64 site_wide = True |
64 site_wide = True |
65 |
65 |
116 self.w(u' [<a class="logout" href="%s">%s</a>]' |
116 self.w(u' [<a class="logout" href="%s">%s</a>]' |
117 % (self.build_url('login'), self.req._('login'))) |
117 % (self.build_url('login'), self.req._('login'))) |
118 |
118 |
119 |
119 |
120 class ApplicationMessage(component.Component): |
120 class ApplicationMessage(component.Component): |
121 """display application's messages given using the __message parameter |
121 """display messages given using the __message parameter into a special div |
122 into a special div section |
122 section |
123 """ |
123 """ |
124 __select__ = yes() |
124 __select__ = yes() |
125 id = 'applmessages' |
125 id = 'applmessages' |
126 # don't want user to hide this component using an cwproperty |
126 # don't want user to hide this component using an cwproperty |
127 property_defs = {} |
127 property_defs = {} |
136 self.div_id(), msg)) |
136 self.div_id(), msg)) |
137 self.w(u'</div>') |
137 self.w(u'</div>') |
138 |
138 |
139 |
139 |
140 class ApplicationName(component.Component): |
140 class ApplicationName(component.Component): |
141 """display the application name""" |
141 """display the instance name""" |
142 id = 'appliname' |
142 id = 'appliname' |
143 property_defs = VISIBLE_PROP_DEF |
143 property_defs = VISIBLE_PROP_DEF |
144 # don't want user to hide this component using an cwproperty |
144 # don't want user to hide this component using an cwproperty |
145 site_wide = True |
145 site_wide = True |
146 |
146 |