diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-01-20 13:15:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 08:15:14 -0500 |
commit | 0cd2938bc854d947ae8102ded688a626c9fac5b5 (patch) | |
tree | b125ffde49f269d946f602ea70beba27864d813f /synapse/res/templates | |
parent | Merge remote-tracking branch 'origin/develop' into release-v1.26.0 (diff) | |
download | synapse-0cd2938bc854d947ae8102ded688a626c9fac5b5.tar.xz |
Support icons for Identity Providers (#9154)
Diffstat (limited to 'synapse/res/templates')
-rw-r--r-- | synapse/res/templates/sso_login_idp_picker.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/res/templates/sso_login_idp_picker.html b/synapse/res/templates/sso_login_idp_picker.html index f53c9cd679..5b38481012 100644 --- a/synapse/res/templates/sso_login_idp_picker.html +++ b/synapse/res/templates/sso_login_idp_picker.html @@ -17,6 +17,9 @@ <li> <input type="radio" name="idp" id="prov{{loop.index}}" value="{{p.idp_id}}"> <label for="prov{{loop.index}}">{{p.idp_name | e}}</label> +{% if p.idp_icon %} + <img src="{{p.idp_icon | mxc_to_http(32, 32)}}"/> +{% endif %} </li> {% endfor %} </ul> |