equal
deleted
inserted
replaced
88 # * logged-in User with a profile |
88 # * logged-in User with a profile |
89 # * logged-in Users, but no profile is necessary |
89 # * logged-in Users, but no profile is necessary |
90 # * anyone, even those not logged in |
90 # * anyone, even those not logged in |
91 # (and possibly others) |
91 # (and possibly others) |
92 |
92 |
93 #: field storing whether a link to the Work should be featured in |
|
94 #: the sidebar menu (and possibly elsewhere); FAQs, Terms of Service, |
|
95 #: and the like are examples of "featured" Works |
|
96 is_featured = db.BooleanProperty( |
|
97 verbose_name=ugettext('Is Featured')) |
|
98 is_featured.help_text = ugettext( |
|
99 'Field used to indicate if a Work should be featured, for example,' |
|
100 ' in the sidebar menu.') |
|
101 |
|
102 def name(self): |
93 def name(self): |
103 """Alias 'title' Property as 'name' for use in common templates. |
94 """Alias 'title' Property as 'name' for use in common templates. |
104 """ |
95 """ |
105 return self.title |
96 return self.title |
106 |
97 |