Commit e1ab7c23d16c84300b3483ee8466a4e283fac6de
Committed by
Sergio Oliveira
1 parent
e99741ff
Exists in
master
and in
39 other branches
Password Change area in User Update form
Signed-off-by: Alexandre Barbosa <alexandreab@live.com> Signed-off-by: Carlos Oliveira <carlospecter@gmail.com>
Showing
1 changed file
with
14 additions
and
1 deletions
Show diff stats
colab/accounts/templates/accounts/user_update_form.html
| @@ -178,6 +178,20 @@ $(function() { | @@ -178,6 +178,20 @@ $(function() { | ||
| 178 | </div> | 178 | </div> |
| 179 | </div> | 179 | </div> |
| 180 | </div> | 180 | </div> |
| 181 | + {% if not BROWSERID_ENABLED %} | ||
| 182 | + <div class="col-lg-4 col-md-5 col-sm-12 col-xm-12"> | ||
| 183 | + <div class="panel panel-default"> | ||
| 184 | + <div class="panel-heading"> | ||
| 185 | + <h3 class="panel-title"> | ||
| 186 | + {% trans 'Change Password' %} | ||
| 187 | + </h3> | ||
| 188 | + </div> | ||
| 189 | + <div class="panel-body"> | ||
| 190 | + <a href="{% url 'password_change' %}" class="btn btn-default btn-primary pull-right btn-block">{% trans "Change Password" %}</a> | ||
| 191 | + </div> | ||
| 192 | + </div> | ||
| 193 | + </div> | ||
| 194 | + {% endif %} | ||
| 181 | </div> | 195 | </div> |
| 182 | {% if CONVERSEJS_ENABLED %} | 196 | {% if CONVERSEJS_ENABLED %} |
| 183 | <div class="row"> | 197 | <div class="row"> |
| @@ -198,7 +212,6 @@ $(function() { | @@ -198,7 +212,6 @@ $(function() { | ||
| 198 | </div> | 212 | </div> |
| 199 | </div> | 213 | </div> |
| 200 | {% endif %} | 214 | {% endif %} |
| 201 | - | ||
| 202 | <div class="row"> | 215 | <div class="row"> |
| 203 | <div class="submit"> | 216 | <div class="submit"> |
| 204 | <button type="submit" class="btn btn-primary btn-lg btn-block">{% trans "Update" %}</button> | 217 | <button type="submit" class="btn btn-primary btn-lg btn-block">{% trans "Update" %}</button> |