Changes

no edit summary
Line 157: Line 157:  
end
 
end
 
    local details_len = #details
 
    local details_len = #details
if details_len > 0 then
+
if details_len > 0 and self._detailed_availability then
 
details = format{self._details_template, details = table.concat(details, ", ")}
 
details = format{self._details_template, details = table.concat(details, ", ")}
 
if details_len > self._max_drops_before_collapsible then
 
if details_len > self._max_drops_before_collapsible then
Line 178: Line 178:  
end
 
end
 
end
 
end
if #details > 0 then
+
if #details > 0 and self._detailed_availability then
 
details = format{self._details_template, details = table.concat(details, ", ")}
 
details = format{self._details_template, details = table.concat(details, ", ")}
 
else
 
else
Line 206: Line 206:  
    end
 
    end
 
    local details_len = #details
 
    local details_len = #details
if details_len > 0 then
+
if details_len > 0 and self._detailed_availability then
 
details = format{self._details_template, details = table.concat(details, ", ")}
 
details = format{self._details_template, details = table.concat(details, ", ")}
 
if details_len > self._max_drops_before_collapsible then
 
if details_len > self._max_drops_before_collapsible then
Anonymous user