mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-2875 Workzone refacto #time 8h
This commit is contained in:
@@ -65,7 +65,7 @@
|
|||||||
"normalize-css": "^2.1.0",
|
"normalize-css": "^2.1.0",
|
||||||
"npm": "^6.0.0",
|
"npm": "^6.0.0",
|
||||||
"npm-modernizr": "^2.8.3",
|
"npm-modernizr": "^2.8.3",
|
||||||
"phraseanet-production-client": "0.34.102-d",
|
"phraseanet-production-client": "0.34.103-d",
|
||||||
"requirejs": "^2.3.5",
|
"requirejs": "^2.3.5",
|
||||||
"tinymce": "^4.0.28",
|
"tinymce": "^4.0.28",
|
||||||
"underscore": "^1.8.3",
|
"underscore": "^1.8.3",
|
||||||
|
@@ -32,7 +32,10 @@
|
|||||||
src="/assets/common/images/icons/valid.png" />
|
src="/assets/common/images/icons/valid.png" />
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a class="contextMenuTrigger icon-display-grid" href="#"></a>
|
<a class="contextMenuTrigger" href="#">
|
||||||
|
<i class="icomoon icon-circle fa-stack-2x fa-inverse-bg" aria-hidden="true"></i>
|
||||||
|
<i class="icomoon icon-round-more_horiz-24px white fa-stack-1x fa-inverse" aria-hidden="true"></i>
|
||||||
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@@ -126,7 +129,8 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
-->
|
-->
|
||||||
<td>
|
<td>
|
||||||
<a class="contextMenuTrigger" href="#"> <i class="icomoon icon-circle fa-stack-2x fa-inverse-bg" aria-hidden="true"></i>
|
<a class="contextMenuTrigger" href="#">
|
||||||
|
<i class="icomoon icon-circle fa-stack-2x fa-inverse-bg" aria-hidden="true"></i>
|
||||||
<i class="icomoon icon-round-more_horiz-24px white fa-stack-1x fa-inverse" aria-hidden="true"></i></a>
|
<i class="icomoon icon-round-more_horiz-24px white fa-stack-1x fa-inverse" aria-hidden="true"></i></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -230,7 +234,10 @@
|
|||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a class="contextMenuTrigger icon-display-grid" href="#"></a>
|
<a class="contextMenuTrigger " href="#">
|
||||||
|
<i class="icomoon icon-circle fa-stack-2x fa-inverse-bg" aria-hidden="true"></i>
|
||||||
|
<i class="icomoon icon-round-more_horiz-24px white fa-stack-1x fa-inverse" aria-hidden="true"></i>
|
||||||
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@@ -305,7 +312,18 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% import 'common/thumbnail.html.twig' as thumbnail %}
|
{% import 'common/thumbnail.html.twig' as thumbnail %}
|
||||||
|
{% if app['settings'].getUserSetting(app.getAuthenticatedUser(), 'basket_title_display') == '1' %}
|
||||||
|
<div class="title">
|
||||||
|
{{ record.get_title() | truncate(20, true, "...") }}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% if app['settings'].getUserSetting(app.getAuthenticatedUser(), 'basket_status_display') == '1' %}
|
||||||
|
<div class="status" style="position:relative;height:20px;overflow-y:visible;z-index:15;">
|
||||||
|
{% for flag in record_flags(record) %}
|
||||||
|
<img src="{{ flag.path }}" title="{{ attribute(flag.labels, app.locale) }}" />
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
<div class="CHIM diapo CHIM_{{record.get_serialize_key()}} open-preview-action"
|
<div class="CHIM diapo CHIM_{{record.get_serialize_key()}} open-preview-action"
|
||||||
data-kind="{% if wz_scope == 'groupings' %}REG{% else %}BASK{% endif %}"
|
data-kind="{% if wz_scope == 'groupings' %}REG{% else %}BASK{% endif %}"
|
||||||
data-position="{{ ord }}"
|
data-position="{{ ord }}"
|
||||||
@@ -313,18 +331,7 @@
|
|||||||
style="height:{{box_height}}px;"
|
style="height:{{box_height}}px;"
|
||||||
id="CHIM_{% if wz_scope == 'groupings' %}{{record.get_serialize_key()}}{% else %}{{ contained.getId() }}{% endif %}">
|
id="CHIM_{% if wz_scope == 'groupings' %}{{record.get_serialize_key()}}{% else %}{{ contained.getId() }}{% endif %}">
|
||||||
<input type="hidden" name="id" value="{{ record.get_serialize_key() }}"/>
|
<input type="hidden" name="id" value="{{ record.get_serialize_key() }}"/>
|
||||||
{% if app['settings'].getUserSetting(app.getAuthenticatedUser(), 'basket_title_display') == '1' %}
|
|
||||||
<div class="title">
|
|
||||||
{{record.get_title()}}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% if app['settings'].getUserSetting(app.getAuthenticatedUser(), 'basket_status_display') == '1' %}
|
|
||||||
<div class="status" style="position:relative;height:20px;overflow-y:visible;z-index:15;">
|
|
||||||
{% for flag in record_flags(record) %}
|
|
||||||
<img src="{{ flag.path }}" title="{{ attribute(flag.labels, app.locale) }}" />
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
<div style="position:absolute;background-color:#959595;color:black;font-weight:bold;padding:3px;z-index:90;">
|
<div style="position:absolute;background-color:#959595;color:black;font-weight:bold;padding:3px;z-index:90;">
|
||||||
{{record.getNumber()}}
|
{{record.getNumber()}}
|
||||||
</div>
|
</div>
|
||||||
|
@@ -7577,10 +7577,10 @@ phraseanet-common@^0.4.5-d:
|
|||||||
js-cookie "^2.1.0"
|
js-cookie "^2.1.0"
|
||||||
pym.js "^1.3.1"
|
pym.js "^1.3.1"
|
||||||
|
|
||||||
phraseanet-production-client@0.34.102-d:
|
phraseanet-production-client@0.34.103-d:
|
||||||
version "0.34.102-d"
|
version "0.34.103-d"
|
||||||
resolved "https://registry.yarnpkg.com/phraseanet-production-client/-/phraseanet-production-client-0.34.102-d.tgz#ee2772fd712a5fb2acc87eae5c7d4a2a46f5a28a"
|
resolved "https://registry.yarnpkg.com/phraseanet-production-client/-/phraseanet-production-client-0.34.103-d.tgz#7f043af8c504d66d94450c25029d63338da58037"
|
||||||
integrity sha512-3KtY3n9uI42o6mDUDDXX6KgP3Os2FlQE3nkzEJc3eVbstG9V6rNlk8J/ujXaMKy1hibBT+9f7TTSYy0Z9ARPBA==
|
integrity sha512-8/205hCZaFCZsFfTCjG1BBCemInnPEu3npQHCNaCAz+TA2ojzajNxbgeGY3Fw6PjUYv+qoPpBQgNaOiBwybkKg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@mapbox/mapbox-gl-language" "^0.9.2"
|
"@mapbox/mapbox-gl-language" "^0.9.2"
|
||||||
"@turf/turf" "^5.1.6"
|
"@turf/turf" "^5.1.6"
|
||||||
|
Reference in New Issue
Block a user