Software / code / prosody-modules
Diff
mod_http_oauth2/html/consent.html @ 6344:eb834f754f57 draft default tip
Merge update
| author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
|---|---|
| date | Fri, 18 Jul 2025 20:45:38 +0700 |
| parent | 6339:24559118dd6c |
line wrap: on
line diff
--- a/mod_http_oauth2/html/consent.html Sun Jun 15 01:08:46 2025 +0700 +++ b/mod_http_oauth2/html/consent.html Fri Jul 18 20:45:38 2025 +0700 @@ -35,8 +35,12 @@ <dd><a href="{client.policy_uri}">View policy</a></dd>} <dt>Requested permissions</dt> - <dd>{scopes# - <input class="scope" type="checkbox" id="scope_{idx}" name="scope" value="{item}" checked="" /><label class="scope" for="scope_{idx}">{item}</label>} + <dd> + <dl>{scopes# + <dt><input class="scope" type="checkbox" id="scope_{idx}" name="scope" value="{item.claim}" checked="" /> + <label class="scope" for="scope_{idx}">{item.title?{item.claim}}</label></dt> + {item.description&<dd>{item.description}</dd>}} + </ul> </dd> </dl>