yola / doorservice

Service to open the door
1 stars 0 forks source link

Add configurable buttons #9

Closed AceFire6 closed 9 years ago

AceFire6 commented 10 years ago

Closes #8

zoidyzoidzoid commented 10 years ago

What about adding a context processor that includes the labels.

Like:

@app.context_processor
def inject_labels():
    return {
        'outer_door': {'label': OUTER_DOOR_LABEL},
        'inner_door': {'label': INNER_DOOR_LABEL},
    }
stefanor commented 10 years ago

Or an arbitrary list of buttons, rather than always 2?

thomasw commented 10 years ago

Jethro is working hard to keep his foot in the door.

snitch commented 10 years ago

:sparkles: No lint errors found. :sparkles:

snitch commented 10 years ago

:sparkles: No lint errors found. :sparkles:

stefanor commented 10 years ago

:+1:

AceFire6 commented 10 years ago

I can't merge the pull request.

"Only those with write access to this repository can merge pull requests."

stefanor commented 10 years ago

@adrianmoisey: ^^

AceFire6 commented 9 years ago

:bell: