Changeset 1478 in main


Ignore:
Timestamp:
07/17/12 10:03:40 (9 years ago)
Author:
zali
Message:

Template : display rss link for timeline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/templates/blocks/reference.html

    r1150 r1478  
    3434            {%else %} {% if obj.is_part %} 
    3535                part_icon 
    36             {% else %} user_icon {% endif %} {% endif %}"></div> 
     36            {% else %} user_icon {% endif %} {% endif %}"> 
     37             
     38            </div> 
    3739        <h2> 
    38             <span class="type">{{object_type}}</span>  
     40            <span class="type">{{object_type}} 
     41            {% ifequal object_type "Timeline" %} 
     42            <a target="_blank" href="rss/"> 
     43                <img style="float:none;" src="/media/img/feed_icon.png" alt="{% trans "click here to subscribe to the related feed" %}" title="{% trans "click here to subscribe to the related feed" %}"> 
     44            </a> 
     45            {% endifequal %} 
     46            </span> 
    3947            {% if object_reference != '-' %} 
    4048                // <span class="reference">{{object_reference}}</span>  
Note: See TracChangeset for help on using the changeset viewer.