equal
deleted
inserted
replaced
34 def dashboard(request, page_name=None, link_name=None, |
34 def dashboard(request, page_name=None, link_name=None, |
35 template='soc/user/roles/dashboard.html'): |
35 template='soc/user/roles/dashboard.html'): |
36 """A per-User dashboard of that User's Roles on the site. |
36 """A per-User dashboard of that User's Roles on the site. |
37 |
37 |
38 Args: |
38 Args: |
39 request: the standard django request object. |
39 request: the standard django request object |
40 page: a soc.logic.site.page.Page object which is abstraction that combines |
40 page: a soc.logic.site.page.Page object which is abstraction that combines |
41 a Django view with sidebar menu info |
41 a Django view with sidebar menu info |
42 link_name: the User's site-unique "link_name" extracted from the URL |
42 link_name: the User's site-unique "link_name" extracted from the URL |
43 template: the template path to use for rendering the template. |
43 template: the template path to use for rendering the template |
44 |
44 |
45 Returns: |
45 Returns: |
46 A subclass of django.http.HttpResponse with generated template. |
46 A subclass of django.http.HttpResponse with generated template. |
47 """ |
47 """ |
48 #TODO(tlarsen): this module is currently a placeholder for future work |
48 #TODO(tlarsen): this module is currently a placeholder for future work |
64 def public(request, page_name=None, link_name=None, |
64 def public(request, page_name=None, link_name=None, |
65 template='soc/user/roles/public.html'): |
65 template='soc/user/roles/public.html'): |
66 """A "general public" view of a User's Roles on the site. |
66 """A "general public" view of a User's Roles on the site. |
67 |
67 |
68 Args: |
68 Args: |
69 request: the standard django request object. |
69 request: the standard django request object |
70 page: a soc.logic.site.page.Page object which is abstraction that combines |
70 page: a soc.logic.site.page.Page object which is abstraction that combines |
71 a Django view with sidebar menu info |
71 a Django view with sidebar menu info |
72 link_name: the User's site-unique "link_name" extracted from the URL |
72 link_name: the User's site-unique "link_name" extracted from the URL |
73 template: the template path to use for rendering the template. |
73 template: the template path to use for rendering the template |
74 |
74 |
75 Returns: |
75 Returns: |
76 A subclass of django.http.HttpResponse with generated template. |
76 A subclass of django.http.HttpResponse with generated template. |
77 """ |
77 """ |
78 #TODO(tlarsen): this module is currently a placeholder for future work |
78 #TODO(tlarsen): this module is currently a placeholder for future work |