mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
adressed comment's
This commit is contained in:
@@ -6,16 +6,16 @@
|
||||
|
||||
{% block stylesheet %}
|
||||
{{ parent() }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ path('minifier', { 'f' : 'skins/geonames/geonames.css' }) }}">
|
||||
{#<link rel="stylesheet" type="text/css" href="{{ path('minifier', { 'f' : 'skins/geonames/geonames.css' }) }}">#}
|
||||
{% endblock %}
|
||||
|
||||
{% block javascript %}
|
||||
{{ parent() }}
|
||||
<script type="text/javascript" language="javascript" src="{{ path('minifier', { 'f' : '/skins/account/account.js,assets/geonames-server-jquery-plugin/jquery.geonames.js,skins/geonames/geonames.js' }) }}"></script>
|
||||
<script type="text/javascript" language="javascript" src="{{ path('minifier', { 'f' : '/skins/account/account.js,assets/geonames-server-jquery-plugin/jquery.geonames.js,scripts/common/geonames.js' }) }}"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
var geocompleter = geonames.init($("#form_geonameid"), {
|
||||
"server": "{{ app['phraseanet.registry'].get('GV_i18n_service') }}",
|
||||
"server": "{{ app['geonames.server-uri'] }}",
|
||||
"limit": 40
|
||||
});
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
<div class="control-group">
|
||||
<label class="form_label control-label" for="form_city"><strong>{% trans "admin::compte-utilisateur ville" %}</strong></label>
|
||||
<div class="controls">
|
||||
<input class="input_element input-xlarge geoname_field" type="text" name="form_geonameid" id="form_geonameid" value="" />
|
||||
<input class="input_element input-xlarge geoname_field" type="text" name="form_geonameid" id="form_geonameid" value="{{ app["authentication"].getUser().get_geonameid() }}" />
|
||||
<p class="form_alert help-block"></p>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,4 +1,5 @@
|
||||
{% set jquery_theme = 'dark-hive' %}
|
||||
{% set module = '' %}
|
||||
|
||||
{% extends "common/index_bootstrap.html.twig" %}
|
||||
|
||||
|
Reference in New Issue
Block a user