better format for table page sizes

This commit is contained in:
Oliver Gorwits
2014-09-16 18:42:46 +01:00
parent fb365f1203
commit c70dcf60d5
2 changed files with 7 additions and 22 deletions

View File

@@ -312,27 +312,20 @@ Set to "C<false>" if you MUST maintain backwards compatibility with the Netdisco
Value: Number. Default: 10. Value: Number. Default: 10.
The number of rows in a table page. The default number of rows in a table page.
=head3 C<table_showrecordsmenu> =head3 C<table_showrecordsmenu>
Value: Number. Default: Value: Number. Default:
- - 10 table_showrecordsmenu:
- 25 - [10, 25, 50, 100, '-1']
- 50 - [10, 25, 50, 100, 'All']
- 100
- '-1'
- - 10
- 25
- 50
- 100
- 'All'
The choices available to users for selecting the number of rows per page. The The choices available to users for selecting the number of rows per page. The
format is two lists: one of the values and one of the labels in the web format is two lists: one of the values and one of the labels in the web
interface. You can see in the default that a value of "C<-1>" means Show All interface. You can see in the default that a value of "C<-1>" means Show All
Records. Take care of the YAML formatting and indenting for the double list. Records.
=head2 Netdisco Core =head2 Netdisco Core

View File

@@ -83,16 +83,8 @@ safe_password_store: true
reports: [] reports: []
table_pagesize: 10 table_pagesize: 10
table_showrecordsmenu: table_showrecordsmenu:
- - 10 - [10, 25, 50, 100, '-1']
- 25 - [10, 25, 50, 100, 'All']
- 50
- 100
- '-1'
- - 10
- 25
- 50
- 100
- 'All'
# ------------- # -------------
# NETDISCO CORE # NETDISCO CORE