summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-asterisk/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-asterisk/luasrc')
-rw-r--r--applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm8
1 files changed, 6 insertions, 2 deletions
diff --git a/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm b/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm
index 2c6895b929..a46a8db179 100644
--- a/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm
+++ b/applications/luci-asterisk/luasrc/view/asterisk/dialplans.htm
@@ -159,7 +159,8 @@ $Id$
<% for ext, room in luci.util.kspairs(plan.meetmerooms) do rooms_used[room.room] = true %>
<tr class="cbi-section-table-row <%=rowstyle(row)%>">
<td style="text-align: left; padding: 3px" class="cbi-section-table-cell">
- <strong>&#x2514; MeetMe Room <em><%=room.room%></em></strong> (<%=room.description%>)
+ <strong>&#x2514; MeetMe Room <em><%=room.room%></em></strong>
+ <% if room.description and #room.description > 0 then %> (<%=room.description%>)<% end %>
<p style="padding-left: 1em; margin-bottom:0">
Matches: <%=format_matches(ext)%>
</p>
@@ -209,7 +210,10 @@ $Id$
<option value="">-- please select --</option>
<% for ext, room in luci.util.kspairs(ast.meetme.rooms()) do %>
<%# if not rooms_used[room.room] then %>
- <option value="<%=room.room%>"><%=room.room%> (<%=room.description%>)</option>
+ <option value="<%=room.room%>">
+ <%=room.room%>
+ <% if room.description and #room.description > 0 then %>(<%=room.description%>)<% end %>
+ </option>
<%# end %>
<% end %>
</select>