Skip to content
Snippets Groups Projects
Commit 3819f4b7 authored by Armand Bahi's avatar Armand Bahi
Browse files

Mode display only

parent 78ee198f
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@
<div ng-repeat="image in aPreviewImages"
ng-class="{'preview-image-small' : aPreviewImages.length !== 1}"
class="preview-image preview-show-{{$index}}">
<div class="image-cancel" data-no="{{$index}}" ng-click="removeFile(image)">
<div class="image-cancel" data-no="{{$index}}" ng-if="!field.displayOnly" ng-click="removeFile(image)">
<span class="icon-trash"></span>
</div>
<div class="image-zone"><img ng-src="{{image.src}}"></div>
......@@ -37,7 +37,7 @@
</div>
<!-- Fichiers à envoyer -->
<div class="input-group input-file-xxs" ng-click="searchNewFile()">
<div class="input-group input-file-xxs" ng-if="!field.displayOnly" ng-click="searchNewFile()">
<div tabindex="500" class="form-control file-caption kv-fileinput-caption">
<div ng-show="aFiles.length > 0" class="file-caption-name" title="7 fichiers sélectionné(s)"><span class="glyphicon glyphicon-file kv-caption-icon"></span> {{aFiles.length}} fichier(s)</div>
<div ng-show="aFiles.length == 0" class="file-caption-name" title="7 fichiers sélectionné(s)"><span class="glyphicon glyphicon-file kv-caption-icon"></span> Aucun fichier disponible</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment