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 | 178 | </div> |
| 179 | 179 | </div> |
| 180 | 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 | 195 | </div> |
| 182 | 196 | {% if CONVERSEJS_ENABLED %} |
| 183 | 197 | <div class="row"> |
| ... | ... | @@ -198,7 +212,6 @@ $(function() { |
| 198 | 212 | </div> |
| 199 | 213 | </div> |
| 200 | 214 | {% endif %} |
| 201 | - | |
| 202 | 215 | <div class="row"> |
| 203 | 216 | <div class="submit"> |
| 204 | 217 | <button type="submit" class="btn btn-primary btn-lg btn-block">{% trans "Update" %}</button> | ... | ... |