# HG changeset patch
# User Brian Neal
# Date 1470277079 18000
# Node ID 2574cd24773e6ebdea529e43f6317e946ced3031
# Parent 67c83926722060edc7778e216c80c02c4cedaf04
Convert avatar form to V3 design.
diff -r 67c839267220 -r 2574cd24773e bio/views.py
--- a/bio/views.py Wed Aug 03 19:35:54 2016 -0500
+++ b/bio/views.py Wed Aug 03 21:17:59 2016 -0500
@@ -157,6 +157,7 @@
return render(request, 'bio/avatar.html', {
'form': form,
+ 'V3_DESIGN': True,
})
#######################################################################
diff -r 67c839267220 -r 2574cd24773e sg101/templates/bio/avatar.html
--- a/sg101/templates/bio/avatar.html Wed Aug 03 19:35:54 2016 -0500
+++ b/sg101/templates/bio/avatar.html Wed Aug 03 21:17:59 2016 -0500
@@ -1,4 +1,4 @@
-{% extends 'bio/base.html' %}
+{% extends 'v3/base.html' %}
{% load bio_tags %}
{% block title %}Change My Avatar{% endblock %}
{% block content %}
@@ -9,15 +9,15 @@
To change your avatar, upload a file using the form, below. You may leave the
form blank to reset your avatar to the default.
-
+
Your file must be a recognizable graphic file, such as jpeg, gif, png, etc.
The maximum size of an avatar is 100 x 100 pixels. If your uploaded file is larger than
this it will be scaled down to 100 x 100 pixels. For best results, please ensure your
image is square.
-
+
{% endblock %}