Menu

#423 Multiline room names

open
nobody
None
1
2020-08-20
2020-07-30
Scott
No

Hey, I need to have multi-line room names so I can add some extra info to the room name without it expanding the booking grid off the screen. Basically, I want my names too look like:

[Room Name]
[Room Capacity]
[Room Telephone]

Currently, the MRBS has a field for capacity, and we've actually been using that for the telephone extension. Now with COVID we need both a capacity and telephone/extension and it would be much cleaner to simply enter all this info into a multi-line room name.

Discussion

  • Tobias Zeumer

    Tobias Zeumer - 2020-08-19

    Maybe setting this in the config might solve this already?

    $auth['allow_custom_html'] = true;

    // Allow admins to insert custom HTML on the area and room pages. This can be useful for
    // displaying information about an area or room, eg with a picture or a map. But it
    // also presents a security risk as the HTML is output as is, and could therefore contain
    // malicious scripts. Only set $auth['allow_custom_html'] to true if you trust your admins.

     
  • Campbell Morrison

    Unfortunately not. I think barius wants multi-line room names to appear on the calendar views, whereas the custom HTML just appears on the Rooms page. However I think having a multi-line roiom name is going to be a bit tricky. For example, what would you expect to see in the select elements?

     
  • Campbell Morrison

    I think the easiest thing to do is to modify the function room_cell_html() in functions_table.inc.

     
MongoDB Logo MongoDB