Skip to content

Commit

Permalink
Increase truncate char length
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar authored Jun 2, 2018
1 parent 791872e commit 370939a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/layouts/_angulardirectives.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
<div class="link-selector-btn btn btn-secondary" ng-click="toggleModal()">
<i class="material-icons left" ng-show="!fileinfo.name">file_upload</i>
<i class="material-icons left" ng-show="fileinfo.name">attach_file</i>
<span ng-if="fileinfo.name">{{fileinfo.name | truncateMiddle: 20}}</span>
<span ng-if="fileinfo.name">{{fileinfo.name | truncateMiddle: 30}}</span>
<span ng-if="!fileinfo.name">
<?= Admin::t('layout_select_file'); ?>
</span>
Expand Down Expand Up @@ -355,7 +355,7 @@
<span ng-if="file.isImage"><img class="responsive-img filmanager-thumb" ng-src="{{file.thumbnail.source}}" /></span>
<span ng-if="!file.isImage"><i class="material-icons custom-color-icon">attach_file</i></span>
</td>
<td ng-click="toggleSelection(file)">{{file.name | truncateMiddle: 40}}</td>
<td ng-click="toggleSelection(file)">{{file.name | truncateMiddle: 50}}</td>
<td ng-click="toggleSelection(file)">{{file.extension}}</td>
<td ng-click="openFileDetail(file)">{{file.uploadTimestamp * 1000 | date:"short"}}</td>
<td ng-click="openFileDetail(file)">{{file.sizeReadable}}</td>
Expand Down

0 comments on commit 370939a

Please sign in to comment.