siwapp/siwapp — Issue #11: settings: tags management
Author: carlosescri
Created: 2011-12-09 12:48:05+00:00
State: open
Labels: Feature

Add / Remove / Modify Tags.

Each tag has this properties:

* **Name**
* **CSS Color** (rgb(,,), #...)
* **Switch (ON/OFF)**: Display this tag in listings.

![Sample](http://f.cl.ly/items/0H1z0s0G0s262112323n/siwapp_sf2_tags.png)

If a tag's switch is ON then it will be displayed in listings under the customer's name.

**HTML**

{% for entity in table_rows %}

...

{{ entity.getCustomerName }}

delinquent customer,

semaphore,

mytag,

other tag,

green

...

{% endfor %}

**CSS**

These styles should be added to `/css/siwapp-files/siwapp.tables.less`:

User styles could be added to the page inside the `stylesheets` block:

{% block stylesheets %}
{{ parent() }}

{% endblock %}

Better if you use a partial or a custom URL to generate all the tag colors: