Module:ScheduleList:修订间差异

跳转到导航 跳转到搜索
无编辑摘要
无编辑摘要
第52行: 第52行:
     }
     }
     if css_class and css_class ~= "" then
     if css_class and css_class ~= "" then
         return string.format('<li class="%s">%s<small>%s</small> %s</li>', css_class, ruby_output, week, title)
         return string.format(
            '<li class="%s" style="display: flex; justify-content: space-between;">' ..
            '<div class="datetime"><span>%s<small>%s</small></span></div>' ..
            '<div class="title">%s</div>' ..
            '</li>',
            css_class, ruby_output, week, title
        )
     else
     else
         return string.format('<li>%s<small>%s</small> %s</li>', ruby_output, week, title)
         return string.format(
            '<li style="display: flex; justify-content: space-between;">' ..
            '<div class="datetime"><span>%s<small>%s</small></span></div>' ..
            '<div class="title">%s</div>' ..
            '</li>',
            ruby_output, week, title
        )
     end
     end
end
end