Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Replacing "new" with icons in non-js templates

Quote Reply
Replacing "new" with icons in non-js templates
Heya,

I'm using the simple templates (non-js) and would like to replace the new, read and replied status indicators in my inbox with icons. Any pointers?

Safe swoops
Sangiro
Quote Reply
Re: Replacing "new" with icons in non-js templates In reply to
Hi,

Try:

<%if msg_status eq 'New'%>
html for new icon
<%endif%>
<%if msg_status eq 'Read'%>
html for read icon
<%endif%>
...

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Replacing "new" with icons in non-js templates In reply to
Thanks Alex!

Few minor changes for others who'd like to do this...
1) Changed msgs_status to plural
2) Removed the ''
3) Added a line for replied messages

<%if msgs_status eq New%>
html for new icon
<%endif%>
<%if msgs_status eq Read%>
html for read icon
<%endif%>
<%if msgs_status eq Replied%>
html for replied icon
<%endif%>

Works like a charm.
Safe Swoops
Sangiro



Quote Reply
Re: Replacing "new" with icons in non-js templates In reply to
Hi Sangiro.
Where would I find these tags?

Thanks
Tracy

Quote Reply
Re: Replacing "new" with icons in non-js templates In reply to
These are in your templates. You need to edit them there.

Safe swoops
Sangiro
http://www.dropzone.com/