Changeset 1238 in main


Ignore:
Timestamp:
06/20/12 09:06:08 (7 years ago)
Author:
zali
Message:

Template Part-DocCad? : disable attach_document button when the part is cancelled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/templates/parts/doccad.html

    r1231 r1238  
    7777        {% if user.get_profile.is_contributor  %} 
    7878            {{ docs_formset.management_form }} 
     79            {% if not obj.is_cancelled %} 
    7980            <a class="{{"Button"|button}}"  
    8081            {% if obj.type|can_link:request.session.type %} 
     
    8586                <span class="ui-button-text">{% trans "Attach another document" %}</span> 
    8687            </a> 
     88            {% endif %} 
    8789 
    8890            {% if obj.is_draft or obj.is_official %} 
Note: See TracChangeset for help on using the changeset viewer.