• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

theorchard / lemon-py / 34 / 1
96%
master: 94%

Build:
Build:
LAST BUILD BRANCH: mo-14-nov-add-access
DEFAULT BRANCH: master
Ran 03 Nov 2014 08:37PM UTC
Files 6
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Nov 2014 08:31PM UTC coverage: 97.857%. First build
34.1

push

travis-ci

xethorn
Add support for: tag, attributes and classes.

The current iteration on views uses a standard container (block level - div). Some views might
want to have a different container (button, span, table), some views might also want to add
custom classes to reflect a certain state.

The current approach adds a template function that consumes the context, and call the
describe method on the parent (current view.) and alter the different values. Only one method
is provided to perform all those changes.

Code in template will look as follows:
```jinja2
{{ describe(button, classes=[some, classes], attrs={data-row-id: id}) }}
```

This method can only be called one time, so if the tag, classes or attributes need to be changed
temporary variable should be used through the code.

@mymac80

137 of 140 relevant lines covered (97.86%)

0.98 hits per line

Source Files on job 34.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 34
  • Travis Job 34.1
  • 7ce5a118 on github
  • Next Job for on mo-14-nov-add-element-type-and-other-goodness (#40.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc