Ignore:
Timestamp:
Dec 12, 2011 11:14:35 AM (3 years ago)
Author:
yomguy <yomguy@…>
Branches:
master, crem, crem2, crem3, dev, dev2, diadems, dj1.6, feature/breadcrumbs, feature/ts-0.5, feature/ts-0.5.4, feature/writecache, forma, generic, instru_search, lam, lam2, mapsv3, merge, nlivemulti, prob, production, release/1.4.4, sabiod, search, security, server, social, storage, telecaster, test, video
Children:
e60b787
Parents:
97e4abc
git-author:
yomguy <yomguy@…> (12/12/2011 11:14:35)
git-committer:
yomguy <yomguy@…> (12/12/2011 11:14:35)
Message:

fix encoding for ISO languages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • telemeta/templates/telemeta_default/mediaitem_detail.html

    r434d41e rdc5bde6  
    4141        soundManager.useHTML5Audio = true; 
    4242        soundManager.preferFlash = true; 
    43          
     43 
    4444        //initializing the visualizers to be passed to the player 
    4545        var visualizers = {}; 
     
    8282 
    8383{% block title %} 
    84 <img src="{% url telemeta-images "item.png" %}" alt="item" style="vertical-align:middle" />  
     84<img src="{% url telemeta-images "item.png" %}" alt="item" style="vertical-align:middle" /> 
    8585Item : <a href="{% url telemeta-item-detail item.public_id %}">{{ item }}</a> 
    8686{% endblock %} 
     
    182182                {% dl_field item "cultural_area" %} 
    183183                {% dl_field item "language" %} 
     184                {% if item.language_iso %} 
     185                <dt>{% trans "Language ISO" %}</dt> 
     186                <dd>{{ item.language_iso.name|to_utf8 }}</dd> 
     187                {% endif %} 
    184188                {% dl_field item "ethnic_group" placeholder %} 
    185189                <dt>{% trans "Ethnographic context" %}</dt> 
     
    286290{% block delete %} 
    287291{% if user.is_authenticated and perms.telemeta.delete_mediaitem %} 
    288  <a href="#" onclick="if(confirm(gettrans('delete the item permanently?'))){window.location.href='{% url telemeta-item-delete item.public_id %}';};return false;"   
     292 <a href="#" onclick="if(confirm(gettrans('delete the item permanently?'))){window.location.href='{% url telemeta-item-delete item.public_id %}';};return false;" 
    289293        class="component_icon button icon_delete" style="float:right;margin-top:0.5em;margin-bottom:1em">{% trans "Delete" %}</a> 
    290294{% endif %} 
Note: See TracChangeset for help on using the changeset viewer.