diff --git a/views/DE/project/mailinglists.pug b/views/DE/project/mailinglists.pug index cfffc9ad2b88efd2576731f3b0750798c5f516cb..3063e3633bd960ab59961eae2915916e852a9426 100644 --- a/views/DE/project/mailinglists.pug +++ b/views/DE/project/mailinglists.pug @@ -20,21 +20,24 @@ html(lang="de") div(class="col-md-12 margin_bottom_30") h2(class="text-center color_708090") <strong>Aktive Mailinglisten</strong> div(class="table-responsive table-borderless") - table(class="table table-striped table-bordered table-hover") - thead() - tr() - th Name - th Zum Abonnement der Mailingliste - th Zum zugehörigen Projekt - th Keywords - tbody() - for item in mailinglists - if item.projectstatus == '1' - tr - td #{item.name} - td <a href="#{item.src}">#{item.src}</a> - td <a href='projectoverview?projectID=#{item.id}'>#{item.project_title}</a> - td #{item.keywords} + if !mailinglists + p There is no active mailing list at the moment + else + table(class="table table-striped table-bordered table-hover") + thead() + tr() + th Name + th Zum Abonnement der Mailingliste + th Zum zugehörigen Projekt + th Keywords + tbody() + for item in mailinglists + if item.projectstatus == '1' + tr + td #{item.name} + td <a href="#{item.src}">#{item.src}</a> + td <a href='projectoverview?projectID=#{item.id}'>#{item.project_title}</a> + td #{item.keywords} div(id="aboText" class="mailingList_aboText") div(class="container") div(class="row m_bottom_0 p_top_20 p_bottom_20")