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

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

Build:
Build:
LAST BUILD BRANCH: mo-14-nov-add-access
DEFAULT BRANCH: master
Ran 03 Nov 2014 08:37PM UTC
Jobs 1
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

pending completion
34

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

Jobs
ID Job ID Ran Files Coverage
1 34.1 03 Nov 2014 08:37PM UTC 0
97.86
Travis Job 34.1
Source Files on build 34
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #34
  • 7ce5a118 on github
  • Next Build on mo-14-nov-add-element-type-and-other-goodness (#40)
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