Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
ad875bc0
Commit
ad875bc0
authored
Mar 02, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better look for preferences page
parent
1e6aed9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
html/profile.html
html/profile.html
+11
-9
media/js/loader.js
media/js/loader.js
+1
-0
No files found.
html/profile.html
View file @
ad875bc0
...
...
@@ -16,24 +16,26 @@
<form
method=
"post"
action=
"{% url 'accounts.views.profile' %}"
>
{% csrf_token %}
<fieldset>
<legend>
{% trans "Preferences" %}
</legend>
<div
class=
"accordion"
>
<h2><a
href=
"#"
>
{% trans "Preferences" %}
</a></h2>
<div>
<table>
{{ form.as_table }}
</table>
</
fieldset
>
<
fieldset
>
<
legend>
{% trans "Account" %}
</legend
>
</
div
>
<
h2><a
href=
"#"
>
{% trans "Account" %}
</a></h2
>
<
div
>
<table>
{{ userform.as_table }}
</table>
<span
class=
"helptext"
>
{% trans "Your name and email will appear as author on Git commits." %}
</span>
</
fieldset
>
<
fieldset
>
<
legend>
{% trans "Password" %}
</legend
>
</
div
>
<
h2><a
href=
"#"
>
{% trans "Password" %}
</a></h2
>
<
div
>
{% url 'django.contrib.auth.views.password_change' as pw_url %}
{% blocktrans %}You can change password on
<a
href=
"{{ pw_url }}"
>
separate page
</a>
.{% endblocktrans %}
</fieldset>
</div>
</div>
<input
type=
"submit"
value=
"{% trans "
Save
"
%}"
class=
"button"
/>
</form>
...
...
media/js/loader.js
View file @
ad875bc0
...
...
@@ -16,4 +16,5 @@ $(document).ready(function(){
});
return
false
;
});
$
(
'
.accordion
'
).
accordion
();
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment