Merge pull request #3730 from jitendra-webkul/master
Changes for admin multi theme system
This commit is contained in:
commit
397bf6370a
|
|
@ -143,9 +143,9 @@
|
|||
<div class="control-group">
|
||||
<label for="theme">{{ __('admin::app.settings.channels.theme') }}</label>
|
||||
<select class="control" id="theme" name="theme">
|
||||
@foreach (themes()->all() as $theme)
|
||||
<option value="{{ $theme->code }}" {{ old('theme') == $theme->code ? 'selected' : '' }}>
|
||||
{{ $theme->name }}
|
||||
@foreach (config('themes.themes') as $themeCode => $theme)
|
||||
<option value="{{ $themeCode }}" {{ old('theme') == $themeCode ? 'selected' : '' }}>
|
||||
{{ $theme['name'] }}
|
||||
</option>
|
||||
@endforeach
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -154,9 +154,9 @@
|
|||
<?php $selectedOption = old('theme') ?: $channel->theme ?>
|
||||
|
||||
<select class="control" id="theme" name="theme">
|
||||
@foreach (themes()->getChannelThemes() as $theme)
|
||||
<option value="{{ $theme->code }}" {{ $selectedOption == $theme->code ? 'selected' : '' }}>
|
||||
{{ $theme->name }}
|
||||
@foreach (config('themes.themes') as $themeCode => $theme)
|
||||
<option value="{{ $themeCode }}" {{ $selectedOption == $themeCode ? 'selected' : '' }}>
|
||||
{{ $theme['name'] }}
|
||||
</option>
|
||||
@endforeach
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue