mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fixed iconurl integration
This commit is contained in:
@@ -11,7 +11,11 @@
|
||||
<div class="control-group">
|
||||
<div id="pub_icon">
|
||||
<div class="thumb_wrapper">
|
||||
<img id="img_before" src="{{ feed.getIconUrl() }}" />
|
||||
<img id="img_before" src="{% if feed.getIconUrl() == false %}
|
||||
/skins/icons/rss32.gif
|
||||
{% else %}
|
||||
/custom/feed_{{ feed.getId() }}.jpg
|
||||
{% endif %}" />
|
||||
</div>
|
||||
</div>
|
||||
<div id="pub_fileupload">
|
||||
@@ -145,7 +149,7 @@
|
||||
{{ publisher.getUser(app).get_email() }}
|
||||
</td>
|
||||
<td valign="center" align="center">
|
||||
{% if publisher.getOwner() == true %}
|
||||
{% if publisher.isOwner() == true %}
|
||||
X
|
||||
{% else %}
|
||||
<form class="no-ajax form_publication" method="post" action="{{ path('admin_feeds_feed_remove_publisher', { 'id' : feed.getId() }) }}" style="margin:0;">
|
||||
|
@@ -64,7 +64,11 @@
|
||||
<td>
|
||||
<div style="border:1px solid #ccc; width:22px; height:22px; margin:2px;">
|
||||
<a href="{{ path('admin_feeds_feed', { 'id' : feed.getId() }) }}">
|
||||
<img src="{{feed.getIconUrl() ~ '?' ~ random(1000) }}" id="pub_icon" style="margin:3px; width:16px; height:16px;"/>
|
||||
<img src="{% if feed.getIconUrl() == false %}
|
||||
/skins/icons/rss32.gif
|
||||
{% else %}
|
||||
/custom/feed_{{ feed.getId() }}.jpg
|
||||
{% endif %}" id="pub_icon" style="margin:3px; width:16px; height:16px;"/>
|
||||
</a>
|
||||
</div>
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user