equal
deleted
inserted
replaced
111 def promote(self, request, page_name=None, **kwargs): |
111 def promote(self, request, page_name=None, **kwargs): |
112 """Displays the promote to Role page. |
112 """Displays the promote to Role page. |
113 |
113 |
114 Args: |
114 Args: |
115 request: the standard Django HTTP request object |
115 request: the standard Django HTTP request object |
116 page: a soc.logic.site.page.Page object which is abstraction |
116 page_name: the page name displayed in templates as page and header title |
117 that combines a Django view with sidebar menu info |
|
118 kwargs: the Key Fields for the specified entity |
117 kwargs: the Key Fields for the specified entity |
119 """ |
118 """ |
120 |
119 |
121 properties = { |
120 properties = { |
122 'accepted': True, |
121 'accepted': True, |
129 def accept(self, request, page_name=None, params=None, **kwargs): |
128 def accept(self, request, page_name=None, params=None, **kwargs): |
130 """Displays the accept a Role request page. |
129 """Displays the accept a Role request page. |
131 |
130 |
132 Args: |
131 Args: |
133 request: the standard Django HTTP request object |
132 request: the standard Django HTTP request object |
134 page: a soc.logic.site.page.Page object which is abstraction |
133 page_name: the page name displayed in templates as page and header title |
135 that combines a Django view with sidebar menu info |
|
136 kwargs: the Key Fields for the specified entity |
134 kwargs: the Key Fields for the specified entity |
137 """ |
135 """ |
138 |
136 |
139 entity = request_logic.logic.getFromFields(**kwargs) |
137 entity = request_logic.logic.getFromFields(**kwargs) |
140 |
138 |
166 def decline(self, request, page_name=None, **kwargs): |
164 def decline(self, request, page_name=None, **kwargs): |
167 """Displays the decline a Role request page. |
165 """Displays the decline a Role request page. |
168 |
166 |
169 Args: |
167 Args: |
170 request: the standard Django HTTP request object |
168 request: the standard Django HTTP request object |
171 page: a soc.logic.site.page.Page object which is abstraction |
169 page_name: the page name displayed in templates as page and header title |
172 that combines a Django view with sidebar menu info |
|
173 kwargs: the Key Fields for the specified entity |
170 kwargs: the Key Fields for the specified entity |
174 """ |
171 """ |
175 |
172 |
176 properties = { |
173 properties = { |
177 'declined': True, |
174 'declined': True, |