File tree Expand file tree Collapse file tree 3 files changed +17
-6
lines changed Expand file tree Collapse file tree 3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ class DummyClass extends Exception
11
11
*
12
12
* @return void
13
13
*/
14
- public function report()
15
- {
14
+ public function report()
15
+ {
16
16
//
17
17
}
18
18
Original file line number Diff line number Diff line change @@ -552,6 +552,17 @@ public static function defaultSimpleView($view)
552
552
static ::$ defaultSimpleView = $ view ;
553
553
}
554
554
555
+ /**
556
+ * Indicate that Tailwind styling should be used for generated links.
557
+ *
558
+ * @return void
559
+ */
560
+ public static function useTailwind ()
561
+ {
562
+ static ::defaultView ('pagination::tailwind ' );
563
+ static ::defaultSimpleView ('pagination::simple-tailwind ' );
564
+ }
565
+
555
566
/**
556
567
* Indicate that Bootstrap 3 styling should be used for generated links.
557
568
*
Original file line number Diff line number Diff line change 25
25
<div class =" hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" >
26
26
<div >
27
27
<p class =" text-sm text-gray-700 leading-5" >
28
- Showing
28
+ {!! __ ( ' Showing' ) ! !}
29
29
<span class =" font-medium" >{{ $paginator -> firstItem () } } </span >
30
- to
30
+ {!! __ ( ' to ' ) ! !}
31
31
<span class =" font-medium" >{{ $paginator -> lastItem () } } </span >
32
- of
32
+ {!! __ ( ' of ' ) ! !}
33
33
<span class =" font-medium" >{{ $paginator -> total () } } </span >
34
- results
34
+ {!! __ ( ' results' ) ! !}
35
35
</p >
36
36
</div >
37
37
You can’t perform that action at this time.
0 commit comments