Skip to content

Commit

Permalink
Removes school name from titles (patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrrrzzt committed Feb 10, 2017
1 parent c06c81b commit 4cfee49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ const generateTitle = require('./index')

console.log(generateTitle(data, true))

//=> Varsel - fag - 3GKJ/876ABC2003 - Tomato Sauce - LARVS:3GKJ - Larvs videregående skole - Standpunktkarakter - 2016/2017
//=> Varsel - fag - 3GKJ/876ABC2003 - Tomato Sauce - LARVS:3GKJ - Standpunktkarakter - 2016/2017

console.log(generateTitle(data, false))

//=> Varsel - fag - 3GKJ/876ABC2003 - LARVS:3GKJ - Larvs videregående skole - Standpunktkarakter - 2016/2017
//=> Varsel - fag - 3GKJ/876ABC2003 - LARVS:3GKJ - Standpunktkarakter - 2016/2017

```

Expand Down
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ module.exports = (item, untOff) => {
title.push(item.studentName)
}
title.push(item.studentMainGroupName)
title.push(item.schoolName)
title.push(fixPeriod(item.period))
title.push(getSkoleAar())

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "elev-varsel-generate-document-title",
"description": "Generates document title for elev varsel",
"version": "1.0.2",
"version": "1.0.3",
"license": "MIT",
"author": {
"name": "Geir Gåsodden",
Expand Down

0 comments on commit 4cfee49

Please sign in to comment.