diff --git a/open_event/api/sponsors.py b/open_event/api/sponsors.py index 0aabe8b53c..2b65ed3d32 100644 --- a/open_event/api/sponsors.py +++ b/open_event/api/sponsors.py @@ -88,7 +88,7 @@ def post(self, event_id): @api.route('/events//sponsors/types') class SponsorTypesList(Resource): - @api.doc('list_sponsor_types') + @api.doc('list_sponsor_types', model=[fields.String()]) def get(self, event_id): """List all sponsor types""" return DAO.list_types(event_id) diff --git a/open_event/templates/gentelella/admin/profile/_form.html b/open_event/templates/gentelella/admin/profile/_form.html index 0a34b1dc04..edd35f07cc 100644 --- a/open_event/templates/gentelella/admin/profile/_form.html +++ b/open_event/templates/gentelella/admin/profile/_form.html @@ -13,54 +13,51 @@ - - - - - - - - - {% if profile.user_detail.avatar %} - - {% else %} - - {% endif %} - - - - {% if profile.user_detail.contact %} - - {% else %} - - {% endif %} - +
+
+ + + +
+
+ + + {% if profile.user_detail.contact %} + + {% else %} + + {% endif %} +
+
+
+
+ + + {% if profile.user_detail.facebook %} + + {% else %} + + {% endif %} +
+ +
+ + + {% if profile.user_detail.twitter %} + + {% else %} + + {% endif %} +
+
- - - {% if profile.user_detail.facebook %} - - {% else %} - - {% endif %} - - - - - {% if profile.user_detail.twitter %} - - {% else %} - - {% endif %} -

diff --git a/open_event/templates/gentelella/admin/profile/index.html b/open_event/templates/gentelella/admin/profile/index.html index 18b941af4b..a750cbe462 100644 --- a/open_event/templates/gentelella/admin/profile/index.html +++ b/open_event/templates/gentelella/admin/profile/index.html @@ -39,6 +39,14 @@

User Report +
+ + +

{{profile.user_detail.fullname}}