bought project module back up to speed

* Added check that ``dent`` was loaded before looking for related
  configuration settings.
* Fixed ``h3``s that should have been ``h2``s, and ``h4``s that should
  have been ``h3``s
* Added larger margins for headings
* Forced the ``td``s of the translations table to be their normal
  capitalisation
* Readded some translations
* Fixed links to repos
* Fixed links to issues
* Reimplemented configList
This commit is contained in:
Douglas Gardner 2013-04-21 16:34:26 +00:00
parent 17e9e73617
commit ce4e69bdd3
4 changed files with 33 additions and 18 deletions

View File

@ -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"),
});
},
};

View File

@ -16,10 +16,10 @@ 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.modules,'link')){
if(dbot.config.link.autoTitle){
list.push(dbot.t("link-autotitle"));

View File

@ -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;
}

View File

@ -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,18 +77,20 @@ 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}
h2 #{config}
ul
li #{currlang}
li #{debugmode}
h4 #{loadmod}
each config in configList
li #{config}
h3 #{loadmod}
ul#modules
each module in modules
li #{module}