View | Details | Raw Unified | Return to bug 6796
Collapse All | Expand All

(-)a/api/v1/swagger/definitions/library.yaml (-1 / +1 lines)
Lines 117-123 properties: Link Here
117
    description: If the library needs an override to act as pickup location for a hold
117
    description: If the library needs an override to act as pickup location for a hold
118
  library_hours:
118
  library_hours:
119
    type:
119
    type:
120
      - object
120
      - array
121
      - "null"
121
      - "null"
122
    description: The open and close times for a library on any given day
122
    description: The open and close times for a library on any given day
123
additionalProperties: false
123
additionalProperties: false
(-)a/api/v1/swagger/paths/libraries.yaml (+2 lines)
Lines 108-113 Link Here
108
          type: string
108
          type: string
109
          enum:
109
          enum:
110
            - smtp_server
110
            - smtp_server
111
            - library_hours
111
        collectionFormat: csv
112
        collectionFormat: csv
112
    produces:
113
    produces:
113
      - application/json
114
      - application/json
Lines 200-205 Link Here
200
          type: string
201
          type: string
201
          enum:
202
          enum:
202
            - smtp_server
203
            - smtp_server
204
            - library_hours
203
        collectionFormat: csv
205
        collectionFormat: csv
204
    produces:
206
    produces:
205
      - application/json
207
      - application/json
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-2 / +1 lines)
Lines 646-652 Link Here
646
                "ajax": {
646
                "ajax": {
647
                    "url": libraries_url
647
                    "url": libraries_url
648
                },
648
                },
649
                'embed': [ 'smtp_server' ],
649
                'embed': [ 'smtp_server', 'library_hours' ],
650
                'emptyTable': '<div class="dialog message">'+_("There are no libraries defined.")+' <a href="/cgi-bin/koha/admin/branches.pl?op=add_form">'+_("Start defining libraries")+'</a>.</div>',
650
                'emptyTable': '<div class="dialog message">'+_("There are no libraries defined.")+' <a href="/cgi-bin/koha/admin/branches.pl?op=add_form">'+_("Start defining libraries")+'</a>.</div>',
651
                "stateSave": true,
651
                "stateSave": true,
652
                "columnDefs": [ {
652
                "columnDefs": [ {
653
- 

Return to bug 6796