mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-2978-add feedback creation date on workzone feedback
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
"normalize-css": "^2.1.0",
|
||||
"npm": "^6.0.0",
|
||||
"npm-modernizr": "^2.8.3",
|
||||
"phraseanet-production-client": "0.34.149-d",
|
||||
"phraseanet-production-client": "0.34.150-d",
|
||||
"requirejs": "^2.3.5",
|
||||
"tinymce": "^4.0.28",
|
||||
"underscore": "^1.8.3",
|
||||
|
@@ -90,19 +90,29 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if basket.getValidation() %}
|
||||
<div class="feedback-info">
|
||||
{% set nb_records = basket.getElements()|length %}
|
||||
{% set date = app['date-formatter'].getPrettyString(basket.getUpdated()) %}
|
||||
|
||||
<p class="create-date">
|
||||
{{ 'prod:workzone:basket:creation-date' | trans }} : {{ date }}
|
||||
</p>
|
||||
<div class="record-number"> {% trans with {'%nb_records%' : nb_records} %}%nb_records% records{% endtrans %}</div>
|
||||
|
||||
{% set dateExpired = app['date-formatter'].getPrettyString(basket.getValidation().getExpires()) %}
|
||||
<div class="expiredDate" style="float: right; padding: 8px;margin-top: -39px;">
|
||||
{{ 'workzone:feedback:expiration' | trans }} :
|
||||
<div class="expiredDate">
|
||||
<span>{{ 'workzone:feedback:expiration' | trans }} :</span>
|
||||
<form class="update-feed-validation">
|
||||
<input type="hidden" name="feedback-id" value={{ basket.getValidation().getId}} />
|
||||
<input type="hidden" name="feedback-deadline-format" class="alternate" />
|
||||
<input type="text" class="btn datepicker" name="feedback-deadline" value="{{ dateExpired }}">
|
||||
<button type="submit" class="submit">{{ 'workzone:feedback:update' | trans }}</button>
|
||||
<button type="submit" class="submit" title="{{ 'workzone:feedback:update' | trans }}"><i class="fa fa-save"></i></button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% set basket_length = basket.getElements()|length %}
|
||||
<div class="alert_datas_changed ui-corner-all">{{ 'Certaines donnees du panier ont change' | trans }} <a class="basket_refresher" href="#">{{ 'rafraichir' | trans }}</a></div>
|
||||
{% if basket_length == 0 %}
|
||||
|
@@ -7577,10 +7577,10 @@ phraseanet-common@^0.4.5-d:
|
||||
js-cookie "^2.1.0"
|
||||
pym.js "^1.3.1"
|
||||
|
||||
phraseanet-production-client@0.34.149-d:
|
||||
version "0.34.149-d"
|
||||
resolved "https://registry.yarnpkg.com/phraseanet-production-client/-/phraseanet-production-client-0.34.149-d.tgz#e486bbe160861d259b005c7b549d8f1ea08cd82d"
|
||||
integrity sha512-7aXn1WWcALhuruiz8dkLS67Z6MNkQZoxoehCE7iRdnIDRzKioYQ1wycia4MtxyL+4S5XZZb39HIunvdxGsgDSQ==
|
||||
phraseanet-production-client@0.34.150-d:
|
||||
version "0.34.150-d"
|
||||
resolved "https://registry.yarnpkg.com/phraseanet-production-client/-/phraseanet-production-client-0.34.150-d.tgz#625ea96c045719b405fe9b707b632b1290aca285"
|
||||
integrity sha512-JrtPq6dCTCBxX6kGViXZj4Sc26PMFIaifT3PVD1WHLUCNd/U3nnHzpzKUgVC0ibqOj4aVwA8JW/oMilGEe3cmg==
|
||||
dependencies:
|
||||
"@mapbox/mapbox-gl-language" "^0.9.2"
|
||||
"@turf/turf" "^5.1.6"
|
||||
|
Reference in New Issue
Block a user