kotct / docket-old

DISCONTINUED: A docket application.
3 stars 0 forks source link

classroom: "name" function's return value makes little sense #47

Closed rye closed 10 years ago

rye commented 10 years ago

Classroom names don't make sense when they've got a bunch of hyphens thrown in and things are in a weird order.

A better way to display it would be:

[n.ordinalize] hour "[class name]": [teacher name]

I'll take care of this.

cg505 commented 10 years ago

I don't think the thing should be in quotes.

rye commented 10 years ago

You're welcome to change it.

rye commented 10 years ago

This is better now. I've included an html argument that is optional (defaults to false) which will generate HTML-safe stuff and return it if true (otherwise just the text that would be generated by it).

rye commented 10 years ago

This is implemented. #52 requests merge to master.