diff --git a/modules/project/pages.js b/modules/project/pages.js index ed94690..f248dcd 100644 --- a/modules/project/pages.js +++ b/modules/project/pages.js @@ -92,7 +92,7 @@ var pages = function(dbot) { "languageeng": dbot.t("en"), "languageprog": dbot.t("langhead-progress"), "languagetrans": dbot.t("langhead-translations"), - "languagetranshead": dbot.t("translations") + "languagetranshead": dbot.t("translations"), }); }, }; diff --git a/modules/project/project.js b/modules/project/project.js index 59a2fbe..5bb291e 100644 --- a/modules/project/project.js +++ b/modules/project/project.js @@ -16,9 +16,9 @@ var project = function(dbot) { list.push(dbot.t("dent-account", { "username": dbot.config.dent.username })); - } - if(_.has(dbot.config.dent.dentQuotes)) { - list.push(dbot.t("dent-push")); + if(_.has(dbot.config.dent.dentQuotes)) { + list.push(dbot.t("dent-push")); + } } if(_.has(dbot.modules,'link')){ if(dbot.config.link.autoTitle){ diff --git a/public/project.css b/public/project.css index 3e71250..736b633 100644 --- a/public/project.css +++ b/public/project.css @@ -63,3 +63,14 @@ li { #footer { font-size:80%; } +h2 { + margin-top:40px; + margin-bottom:30px; +} +h3 { + margin-top:30px; + margin-bottom:20px; +} +#translations td { + text-transform:none; +} diff --git a/views/project/project.jade b/views/project/project.jade index fa865d7..22d5c93 100644 --- a/views/project/project.jade +++ b/views/project/project.jade @@ -22,12 +22,12 @@ html(lang='#{curr839}') p.intro #{dquote} section#git - h3 #{development} + h2 #{development} p.center #{revnum} pre#gitdiff #{diff} - h4 #{milestoneprog} + h3 #{milestonehead} table#milestones.center tr th #{milestonename} @@ -38,7 +38,7 @@ html(lang='#{curr839}') - var wdth = ((milestone.closed_issues/(milestone.open_issues + milestone.closed_issues))*100) tr(id=mstone+milestone.number) td - a(href=milestone.url) + a(href="https://github.com/"+repo+"/issues?milestone="+milestone.number) #{milestone.title} td div.progress(class=milestone.state) @@ -47,8 +47,10 @@ html(lang='#{curr839}') print #{Math.round(wdth)+"%"} td #{milestone.open_issues} td #{milestone.closed_issues} - h4 #{languagetranshead} - table + a(#href="https://github.com/"+repo+"/") + #{propaganda} + h3 #{languagetranshead} + table#translations tr th #{languagecurr} th #{languagenati} @@ -75,21 +77,23 @@ html(lang='#{curr839}')   print #{Math.round(w)+"%"} td #{language.count} / #{translation.en.count} - h4 #{credits} + h3 #{credits} #{thanks} ul each author in authors li #{author} section#config - h3 #{config} - ul - li #{currlang} - li #{debugmode} - h4 #{loadmod} - ul#modules - each module in modules - li #{module} + h2 #{config} + ul + li #{currlang} + li #{debugmode} + each config in configList + li #{config} + h3 #{loadmod} + ul#modules + each module in modules + li #{module} section#footer p #{currver}