File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 124124 "URL " => "Site root url "
125125 ],
126126
127+ "TOGGLE_COLUMNS " => "Toggle columns " ,
128+
127129 "USER " => [
128130 1 => "User " ,
129131 2 => "Users " ,
Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ class PermissionSprunje extends Sprunje
3434 'info '
3535 ];
3636
37+ protected $ excludeForAll = [
38+ 'info '
39+ ];
40+
3741 /**
3842 * {@inheritDoc}
3943 */
Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ class RoleSprunje extends Sprunje
3434 'info '
3535 ];
3636
37+ protected $ excludeForAll = [
38+ 'info '
39+ ];
40+
3741 /**
3842 * {@inheritDoc}
3943 */
Original file line number Diff line number Diff line change 1+ {# Tool menu for table panels #}
2+
3+ <div class =" box-tools pull-right" >
4+ <div class =" btn-group" >
5+ <button type =" button" class =" btn btn-sm dropdown-toggle" data-toggle =" dropdown" aria-haspopup =" true" aria-expanded =" false" >
6+ <i class =" fa fa-gear" ></i > <span class =" caret" ></span >
7+ </button >
8+ <ul class =" dropdown-menu box-tool-menu" >
9+ <li >
10+ <a href =" #" class =" js-download-table" >
11+ <i class =" fa fa-table fa-fw" ></i > {{ translate(" DOWNLOAD.CSV" ) }}
12+ </a >
13+ </li >
14+ <li role =" separator" class =" divider" ></li >
15+ <li >
16+ <div class =" menu-table-column-selector-title" >
17+ {{translate(' TOGGLE_COLUMNS' )}}:
18+ </div >
19+ <div class =" menu-table-column-selector-options" >
20+
21+ </div >
22+ </li >
23+ </ul >
24+ </div >
25+ </div >
Original file line number Diff line number Diff line change 1616 <div id =" widget-activities" class =" box box-primary" >
1717 <div class =" box-header" >
1818 <h3 class =" box-title" ><i class =" fa fa-tasks fa-fw" ></i > {{translate(' ACTIVITY' , 2 )}}</h3 >
19- <div class =" box-tools pull-right" >
20- <button class =" btn btn-sm btn-default js-download-table" ><i class =" fa fa-table" ></i > {{ translate(" DOWNLOAD.CSV" ) }}</button >
21- </div >
19+ {% include " components/tables/table-tool-menu.html.twig" %}
2220 </div >
2321 <div class =" box-body" >
2422 {% include " components/tables/activities.html.twig" with {
Original file line number Diff line number Diff line change 194194 <div id =" widget-activities" class =" box box-primary" >
195195 <div class =" box-header" >
196196 <h3 class =" box-title" ><i class =" fa fa-tasks fa-fw" ></i > {{translate(' ACTIVITY' , 2 )}}</h3 >
197- <div class =" box-tools pull-right" >
198- <button class =" btn btn-sm btn-default js-download-table" ><i class =" fa fa-table" ></i > {{translate(" DOWNLOAD.CSV" )}}</button >
199- </div >
197+ {% include " components/tables/table-tool-menu.html.twig" %}
200198 </div >
201199 <div class =" box-body" >
202200 {% include " components/tables/activities.html.twig" with {
217215 <div id =" widget-group-users" class =" box box-primary" >
218216 <div class =" box-header" >
219217 <h3 class =" box-title" ><i class =" fa fa-fw fa-user" ></i > {{translate(' USER' , 2 )}}</h3 >
220- <div class =" box-tools pull-right" >
221- <button class =" btn btn-sm btn-default js-download-table" ><i class =" fa fa-table" ></i > {{translate(" DOWNLOAD.CSV" )}}</button >
222- </div >
218+ {% include " components/tables/table-tool-menu.html.twig" %}
223219 </div >
224220 <div class =" box-body" >
225221 {% include " components/tables/users.html.twig" with {
Original file line number Diff line number Diff line change 6969 <div id =" widget-group-users" class =" box box-primary" >
7070 <div class =" box-header" >
7171 <h3 class =" box-title" ><i class =" fa fa-fw fa-user" ></i > {{translate(' USER' , 2 )}}</h3 >
72- <div class =" box-tools pull-right" >
73- <button class =" btn btn-sm btn-default js-download-table" ><i class =" fa fa-table" ></i > {{ translate(" DOWNLOAD.CSV" ) }}</button >
74- </div >
72+ {% include " components/tables/table-tool-menu.html.twig" %}
7573 </div >
7674 <div class =" box-body" >
7775 {% include " components/tables/users.html.twig" with {
Original file line number Diff line number Diff line change 1616 <div id =" widget-groups" class =" box box-primary" >
1717 <div class =" box-header" >
1818 <h3 class =" box-title" ><i class =" fa fa-fw fa-users" ></i > {{translate(' GROUP' , 2 )}}</h3 >
19- <div class =" box-tools pull-right" >
20- <button class =" btn btn-sm btn-default js-download-table" ><i class =" fa fa-table" ></i > {{ translate(" DOWNLOAD.CSV" ) }}</button >
21- </div >
19+ {% include " components/tables/table-tool-menu.html.twig" %}
2220 </div >
2321 <div class =" box-body" >
2422 {% include " components/tables/groups.html.twig" with {
Original file line number Diff line number Diff line change 5353 <div id =" widget-permission-users" class =" box box-primary" >
5454 <div class =" box-header" >
5555 <h3 class =" box-title" ><i class =" fa fa-fw fa-key" ></i > {{translate(' USER.WITH_PERMISSION' )}}</h3 >
56- <div class =" box-tools pull-right" >
57- <button class =" btn btn-sm btn-default js-download-table" ><i class =" fa fa-table" ></i > {{ translate(" DOWNLOAD.CSV" ) }}</button >
58- </div >
56+ {% include " components/tables/table-tool-menu.html.twig" %}
5957 </div >
6058 <div class =" box-body" >
6159 {% include " components/tables/permission-users.html.twig" with {
Original file line number Diff line number Diff line change 1616 <div id =" widget-permissions" class =" box box-primary" >
1717 <div class =" box-header" >
1818 <h3 class =" box-title pull-left" ><i class =" fa fa-key fa-fw" ></i > {{translate(' PERMISSION' , 2 )}}</h3 >
19- <div class =" box-tools pull-right" >
20- <button class =" btn btn-sm btn-default js-download-table" ><i class =" fa fa-table" ></i > {{ translate(" DOWNLOAD.CSV" ) }}</button >
21- </div >
19+ {% include " components/tables/table-tool-menu.html.twig" %}
2220 </div >
2321 <div class =" box-body" >
2422 {% include " components/tables/permissions.html.twig" with {
You can’t perform that action at this time.
0 commit comments