Show placeholder image for branding background
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
<input id="userBackgroundInput" type="checkbox" ng-model="background.enabled">
|
||||
<label for="userBackgroundInput" class="control-label">Use background image</label>
|
||||
<div class="branding-background" ng-show="background.enabled" ng-click="background.selectNew()">
|
||||
<img ng-src="{{ background.url() }}"/>
|
||||
<img ng-src="{{ background.url() }}" onerror="this.src = '/img/background-image-placeholder.svg'"/>
|
||||
<div class="overlay"></div>
|
||||
</div>
|
||||
<input type="file" id="backgroundFileInput" style="display: none" accept="image/*"/>
|
||||
|
||||
Reference in New Issue
Block a user