Commit 2cbb72a8 authored by Kevin Yumang's avatar Kevin Yumang

SERV-2286 - copyright element added

parent 0e2c26f0
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
'Limitless::RandomSelect' => 'randomSelect', 'Limitless::RandomSelect' => 'randomSelect',
'Limitless::Divider' => 'divider', 'Limitless::Divider' => 'divider',
'Limitless::Example' => 'example', 'Limitless::Example' => 'example',
'Limitless::Copyright' => 'copyright'
]; ];
...@@ -122,6 +123,18 @@ ...@@ -122,6 +123,18 @@
} }
/*
|--------------------------------------------------------------------------------------------
| Method "copyright"
|--------------------------------------------------------------------------------------------
*/
public function copyright($parameters)
{
return View('Limitless::Element.Copyright.Copyright')
->withCopyright($parameters ?? 'No Author');
}
} }
......
Copyright © {{ date('Y') }} {{ $copyright }}
\ No newline at end of file
{{-- Layout Reference --}}
@extends('Limitless::Help.Layout.Master')
@section('Limitless::Content')
@Limitless::CardStart(['title' => "Alert", 'icon' => 'icon-bubble-notification'])
@Limitless::Copyright('Ceetrox GmbH')
@Limitless::CardStop
@stop
\ No newline at end of file
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
@Limitless::SideNavMenuItem(['url' => '?page=Element.Alert', 'target' => '_self', 'icon' => 'icon-bubble-notification', 'title' => 'Alert']) @Limitless::SideNavMenuItem(['url' => '?page=Element.Alert', 'target' => '_self', 'icon' => 'icon-bubble-notification', 'title' => 'Alert'])
@Limitless::SideNavMenuItem(['url' => '?page=Card', 'target' => '_self', 'icon' => 'icon-newspaper', 'title' => 'Card']) @Limitless::SideNavMenuItem(['url' => '?page=Card', 'target' => '_self', 'icon' => 'icon-newspaper', 'title' => 'Card'])
@Limitless::SideNavMenuItem(['url' => '?page=Codemirror', 'target' => '_self', 'icon' => 'icon-circle-code', 'title' => 'Code Mirror']) @Limitless::SideNavMenuItem(['url' => '?page=Codemirror', 'target' => '_self', 'icon' => 'icon-circle-code', 'title' => 'Code Mirror'])
@Limitless::SideNavMenuItem(['url' => '?page=Element.Copyright', 'target' => '_self', 'icon' => 'icon-info22', 'title' => 'Copyright'])
@Limitless::SideNavMenuItem(['url' => '?page=Element.Divider', 'target' => '_self', 'icon' => 'icon-minus2', 'title' => 'Divider']) @Limitless::SideNavMenuItem(['url' => '?page=Element.Divider', 'target' => '_self', 'icon' => 'icon-minus2', 'title' => 'Divider'])
@Limitless::SideNavMenuItem(['url' => '?page=Element.LoremIpsum', 'target' => '_self', 'icon' => 'icon-bubble-lines3', 'title' => 'Lorem Ipsum']) @Limitless::SideNavMenuItem(['url' => '?page=Element.LoremIpsum', 'target' => '_self', 'icon' => 'icon-bubble-lines3', 'title' => 'Lorem Ipsum'])
@Limitless::SideNavMenuItem(['url' => '?page=Modal', 'target' => '_self', 'icon' => 'icon-stack', 'title' => 'Modal']) @Limitless::SideNavMenuItem(['url' => '?page=Modal', 'target' => '_self', 'icon' => 'icon-stack', 'title' => 'Modal'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment