mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-08-26 21:27:44 -05:00
Replace icons
This commit is contained in:
@@ -61,7 +61,7 @@ final class CreateController extends Controller
|
||||
|
||||
$this->middleware(function ($request, $next) {
|
||||
app('view')->share('title', (string) trans('firefly.rules'));
|
||||
app('view')->share('mainTitleIcon', 'fa-random');
|
||||
app('view')->share('mainTitleIcon', 'bi-shuffle');
|
||||
|
||||
$this->ruleRepos = app(RuleRepositoryInterface::class);
|
||||
|
||||
@@ -115,7 +115,7 @@ final class CreateController extends Controller
|
||||
|
||||
$triggerCount = count($oldTriggers);
|
||||
$actionCount = count($oldActions);
|
||||
$subTitleIcon = 'fa-clone';
|
||||
$subTitleIcon = 'bi-copy';
|
||||
|
||||
// title depends on whether or not there is a rule group:
|
||||
$subTitle = (string) trans('firefly.make_new_rule_no_group');
|
||||
@@ -176,7 +176,7 @@ final class CreateController extends Controller
|
||||
|
||||
$triggerCount = count($oldTriggers);
|
||||
$actionCount = count($oldActions);
|
||||
$subTitleIcon = 'fa-clone';
|
||||
$subTitleIcon = 'bi-copy';
|
||||
|
||||
// title depends on whether there is a rule group:
|
||||
$subTitle = (string) trans('firefly.make_new_rule_no_group');
|
||||
@@ -208,7 +208,7 @@ final class CreateController extends Controller
|
||||
{
|
||||
$request->session()->flash('info', (string) trans('firefly.instructions_rule_from_journal', ['name' => e($journal->description)]));
|
||||
|
||||
$subTitleIcon = 'fa-clone';
|
||||
$subTitleIcon = 'bi-copy';
|
||||
$subTitle = (string) trans('firefly.make_new_rule_no_group');
|
||||
|
||||
// get triggers and actions for journal.
|
||||
|
||||
@@ -49,7 +49,7 @@ final class DeleteController extends Controller
|
||||
|
||||
$this->middleware(function ($request, $next) {
|
||||
app('view')->share('title', (string) trans('firefly.rules'));
|
||||
app('view')->share('mainTitleIcon', 'fa-random');
|
||||
app('view')->share('mainTitleIcon', 'bi-shuffle');
|
||||
|
||||
$this->ruleRepos = app(RuleRepositoryInterface::class);
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ final class EditController extends Controller
|
||||
|
||||
$this->middleware(function ($request, $next) {
|
||||
app('view')->share('title', (string) trans('firefly.rules'));
|
||||
app('view')->share('mainTitleIcon', 'fa-random');
|
||||
app('view')->share('mainTitleIcon', 'bi-shuffle');
|
||||
|
||||
$this->ruleRepos = app(RuleRepositoryInterface::class);
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ final class IndexController extends Controller
|
||||
parent::__construct();
|
||||
$this->middleware(function ($request, $next) {
|
||||
app('view')->share('title', (string) trans('firefly.rules'));
|
||||
app('view')->share('mainTitleIcon', 'fa-random');
|
||||
app('view')->share('mainTitleIcon', 'bi-shuffle');
|
||||
$this->ruleGroupRepos = app(RuleGroupRepositoryInterface::class);
|
||||
$this->ruleRepos = app(RuleRepositoryInterface::class);
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ final class SelectController extends Controller
|
||||
|
||||
$this->middleware(static function ($request, $next) {
|
||||
app('view')->share('title', (string) trans('firefly.rules'));
|
||||
app('view')->share('mainTitleIcon', 'fa-random');
|
||||
app('view')->share('mainTitleIcon', 'bi-shuffle');
|
||||
|
||||
return $next($request);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user