aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gmail.com>2013-09-08 04:57:21 -0700
committerTheo Chatzimichos <tampakrap@gmail.com>2013-09-08 04:57:21 -0700
commit8d9a738fc2e132b8705b1c9b30a94e0349a040e8 (patch)
treec98802ef173f5e4220233d518460ec9ee5c10786 /okupy/templates
parentMerge pull request #85 from dastergon/verbosity (diff)
parentfix misc pep8 errors (diff)
downloadidentity.gentoo.org-8d9a738fc2e132b8705b1c9b30a94e0349a040e8.tar.gz
identity.gentoo.org-8d9a738fc2e132b8705b1c9b30a94e0349a040e8.tar.bz2
identity.gentoo.org-8d9a738fc2e132b8705b1c9b30a94e0349a040e8.zip
Merge pull request #86 from dastergon/misc_flake8
fix misc pep8 errors
Diffstat (limited to 'okupy/templates')
-rw-r--r--okupy/templates/settings-contact.html14
-rw-r--r--okupy/templates/settings-email.html2
-rw-r--r--okupy/templates/settings-gentoo.html10
-rw-r--r--okupy/templates/settings-profile.html8
4 files changed, 17 insertions, 17 deletions
diff --git a/okupy/templates/settings-contact.html b/okupy/templates/settings-contact.html
index 502e056..6912b1e 100644
--- a/okupy/templates/settings-contact.html
+++ b/okupy/templates/settings-contact.html
@@ -13,31 +13,31 @@
{{ contact_settings.non_field_errors }}
<div class="row-fluid">
{{ contact_settings.website.label_tag }}
- <input name="website" type="text" value="{{ user_profile_info.website.0 }}" /> {{ contact_settings.website.errors|striptags }}
+ <input name="website" type="text" value="{{ user_info.website.0 }}" /> {{ contact_settings.website.errors|striptags }}
</div>
<div class="row-fluid">
{{ contact_settings.im.label_tag }}
- <input name="im" type="text" value="{{ user_profile_info.im.0 }}" /> {{ contact_settings.im.errors|striptags }}
+ <input name="im" type="text" value="{{ user_info.im.0 }}" /> {{ contact_settings.im.errors|striptags }}
</div>
<div class="row-fluid">
{{ contact_settings.location.label_tag }}
- <input name="location" type="text" value="{{ user_profile_info.location }}" /> {{ contact_settings.location.errors|striptags }}
+ <input name="location" type="text" value="{{ user_info.location }}" /> {{ contact_settings.location.errors|striptags }}
</div>
<div class="row-fluid">
{{ contact_settings.longitude.label_tag }}
- <input name="longitude" type="text" value="{{ user_profile_info.longitude }}" /> {{ contact_settings.longitude.errors|striptags }}
+ <input name="longitude" type="text" value="{{ user_info.longitude }}" /> {{ contact_settings.longitude.errors|striptags }}
</div>
<div class="row-fluid">
{{ contact_settings.latitude.label_tag }}
- <input name="latitude" type="text" value="{{ user_profile_info.latitude }}" /> {{ contact_settings.latitude.errors|striptags }}
+ <input name="latitude" type="text" value="{{ user_info.latitude }}" /> {{ contact_settings.latitude.errors|striptags }}
</div>
<div class="row-fluid">
{{ contact_settings.phone.label_tag }}
- <input name="phone" type="text" value="{{ user_profile_info.phone }}" /> {{ contact_settings.phone.errors|striptags }}
+ <input name="phone" type="text" value="{{ user_info.phone }}" /> {{ contact_settings.phone.errors|striptags }}
</div>
<div class="row-fluid">
{{ contact_settings.gpg_fingerprint.label_tag }}
- <input name="gpg_fingerprint" type="text" value="{{ user_profile_info.gpg_fingerprint.0 }}" /> {{ contact_settings.gpg_fingerprint.errors|striptags }}
+ <input name="gpg_fingerprint" type="text" value="{{ user_info.gpg_fingerprint.0 }}" /> {{ contact_settings.gpg_fingerprint.errors|striptags }}
</div>
<div class="row-fluid buttons">
diff --git a/okupy/templates/settings-email.html b/okupy/templates/settings-email.html
index 7f0af1d..e6a082c 100644
--- a/okupy/templates/settings-email.html
+++ b/okupy/templates/settings-email.html
@@ -19,7 +19,7 @@
</tr>
</thead>
<tbody>
- {% for mail in user_profile_info.email%}
+ {% for mail in user_info.email%}
<form action="." method="POST">{% csrf_token %}
<tr>
<td><input type="hidden" name="email" value="{{ mail }}" />{{mail}}</td>
diff --git a/okupy/templates/settings-gentoo.html b/okupy/templates/settings-gentoo.html
index 224c838..0ab16a6 100644
--- a/okupy/templates/settings-gentoo.html
+++ b/okupy/templates/settings-gentoo.html
@@ -7,24 +7,24 @@
<div>
<h1>Gentoo Developer Information</h1>
<h3>Change your Gentoo related details</h3>
- {% if user_profile_info.is_developer %}
+ {% if user_info.is_developer %}
<div class="form well">
<form action="." method="POST">{% csrf_token %}
<div class="row-fluid">
{{ gentoo_account_settings.developer_bug.label_tag }}
- <input name="developer_bug" type="text" value="{{ user_profile_info.developer_bug.0 }}" /> {{ gentoo_account_settings.developer_bug.errors|striptags }}
+ <input name="developer_bug" type="text" value="{{ user_info.developer_bug.0 }}" /> {{ gentoo_account_settings.developer_bug.errors|striptags }}
</div>
<div class="row-fluid">
{{ gentoo_account_settings.mentor.label_tag }}
- <input name="mentor" type="text" value="{{ user_profile_info.mentor.0 }}" /> {{ gentoo_account_settings.mentor.errors|striptags }}
+ <input name="mentor" type="text" value="{{ user_info.mentor.0 }}" /> {{ gentoo_account_settings.mentor.errors|striptags }}
</div>
<div class="row-fluid">
{{ gentoo_account_settings.gentoo_join_date.label_tag }}
- <input name="gentoo_join_date" type="text" value="{{ user_profile_info.gentoo_join_date.0 }}" /> {{ gentoo_account_settings.gentoo_join_date.errors|striptags }}
+ <input name="gentoo_join_date" type="text" value="{{ user_info.gentoo_join_date.0 }}" /> {{ gentoo_account_settings.gentoo_join_date.errors|striptags }}
</div>
<div class="row-fluid">
{{ gentoo_account_settings.gentoo_retire_date.label_tag }}
- <input name="gentoo_retire_date" type="text" value="{{ user_profile_info.gentoo_retire_date.0 }}" /> {{ gentoo_account_settings.gentoo_retire_date.errors|striptags }}
+ <input name="gentoo_retire_date" type="text" value="{{ user_info.gentoo_retire_date.0 }}" /> {{ gentoo_account_settings.gentoo_retire_date.errors|striptags }}
</div>
<div class="row-fluid">
{{ gentoo_account_settings.ssh_key.label_tag }} {{ gentoo_account_settings.ssh_key.errors|striptags }}
diff --git a/okupy/templates/settings-profile.html b/okupy/templates/settings-profile.html
index 05cd57c..2b9726c 100644
--- a/okupy/templates/settings-profile.html
+++ b/okupy/templates/settings-profile.html
@@ -13,19 +13,19 @@
{{ profile_settings.non_field_errors }}
<div class="row-fluid">
{{ profile_settings.first_name.label_tag }}
- <input name="first_name" type="text" value="{{ user_profile_info.first_name }}" /> {{ profile_settings.first_name.errors|striptags }}
+ <input name="first_name" type="text" value="{{ user_info.first_name }}" /> {{ profile_settings.first_name.errors|striptags }}
</div>
<div class="row-fluid">
{{ profile_settings.last_name.label_tag }}
- <input name="last_name" type="text" value="{{ user_profile_info.last_name }}" /> {{ profile_settings.last_name.errors|striptags }}
+ <input name="last_name" type="text" value="{{ user_info.last_name }}" /> {{ profile_settings.last_name.errors|striptags }}
</div>
<div class="row-fluid">
{{ profile_settings.email.label_tag }}
- <input name="email" type="text" value="{{ user_profile_info.email.0 }}" /> {{ profile_settings.email.errors|striptags }}
+ <input name="email" type="text" value="{{ user_info.email.0 }}" /> {{ profile_settings.email.errors|striptags }}
</div>
<!-- <div class="row-fluid">
{{ profile_settings.birthday.label_tag }}
- <input name="birthday" type="text" value="{{ user_profile_info.birthday }}" /> {{ profile_settings.birthday.errors|striptags }}
+ <input name="birthday" type="text" value="{{ user_info.birthday }}" /> {{ profile_settings.birthday.errors|striptags }}
</div> -->
<div class="row-fluid">
{{ profile_settings.timezone.label_tag }}