diff --git a/htdocs/blocktype/openbadgedisplayer/js/configform.js b/htdocs/blocktype/openbadgedisplayer/js/configform.js index 91f81012ea91f8ea91d8ad86af306ee25de38d93..c6c52ecb2fa05649fe0c4a4e3972119f04cd8f9b 100644 --- a/htdocs/blocktype/openbadgedisplayer/js/configform.js +++ b/htdocs/blocktype/openbadgedisplayer/js/configform.js @@ -43,16 +43,15 @@ if ((badgegroups_hosts instanceof Array && badgegroups_hosts.length >= 1) count++; /* Fetching the badge info via ajax and render the pieform checkbox element */ sendjsonrequest(config['wwwroot'] + '/blocktype/openbadgedisplayer/badgegroupnames.json.php', params, 'POST', function(data) { - var icon = jQuery(''); var container = jQuery(' {if $USERMASQUERADING || !$PRODUCTIONMODE || $SITECLOSED || $SITETOP} -
+
{/if} {if $USERMASQUERADING} {/if} {if !$PRODUCTIONMODE} {/if} {if $SITEOUTOFSYNC} {/if} {if $SITECLOSED} {/if} diff --git a/htdocs/theme/raw/templates/styleguide.tpl b/htdocs/theme/raw/templates/styleguide.tpl index ef50d90dae426afb539ec4eb0d9912d870667fd5..d419235b58a79afcd2969f1d63b0c2703a727262 100644 --- a/htdocs/theme/raw/templates/styleguide.tpl +++ b/htdocs/theme/raw/templates/styleguide.tpl @@ -939,8 +939,7 @@ section .card-quarter:nth-child(4n) .page-access .dropdown-menu { This is used to indicate that you should make the recommended change. ```
-

Warning

- This is a warning alert. + This is a warning alert.
``` @@ -950,8 +949,7 @@ This is used to indicate that you should make the recommended change. Used to show that there is an error, which must be fixed before you can continue. ```
-

Danger

- This is a danger alert. + This is a danger alert.
``` @@ -961,8 +959,7 @@ Used to show that there is an error, which must be fixed before you can continue Used to show that an action was successful. ```
-

Success

- This is a success alert. + This is a success alert.
``` @@ -972,8 +969,7 @@ Used to show that an action was successful. Used to show information about Mahara. Usually, this is only shown to administrators. ```
-

Info

- This is a info alert. + This is a info alert.
```