Skip to content

Commit

Permalink
added sorting content label
Browse files Browse the repository at this point in the history
  • Loading branch information
Wedding DJ committed Sep 18, 2017
1 parent 9ac4382 commit ab9433e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions resources/lang/en/template_contenttypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
return [

'add' => 'Add',
'drag_n_drop' => 'Sort content with drag and drop.',

];
2 changes: 1 addition & 1 deletion resources/views/admin/space/content/contentlist.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<button type="button" class="btn btn-primary space-add-content" data-contenttype-key="{{ $key }}" @if ($value['max_values'] != \App\Theme::INFINITE && isset($value['content']) && $value['max_values'] <= count($value['content'])) disabled="disabled" @endif>{{ trans('template_contentlist.add') }} {{ $value['label'] }}</button>

<span class="pull-right" style="margin-top:10px">{{ $value['description'] }}</span>
<span class="pull-right" style="margin-top:10px">{{ $value['description'] }} {{ trans('template_contenttypes.drag_n_drop') }}</span>

<?php
if (isset($value['content'])) {
Expand Down
2 changes: 1 addition & 1 deletion resources/views/admin/space/content/contenttypes.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</div>
<div class="panel-body">
<button type="button" class="btn btn-primary space-add-content" data-contenttype-key="{{ $key }}" @if ($value['max_values'] != \App\Theme::INFINITE && isset($value['content']) && $value['max_values'] <= count($value['content'])) disabled="disabled" @endif>{{ trans('template_contenttypes.add') }} {{ $value['label'] }}</button>
<span class="pull-right" style="margin-top:10px">{{ $value['description'] }}</span>
<span class="pull-right" style="margin-top:10px">{{ $value['description'] }} {{ trans('template_contenttypes.drag_n_drop') }}</span>
</div>
</div>

Expand Down

0 comments on commit ab9433e

Please sign in to comment.