kopia lustrzana https://github.com/hholzgra/maposmatic/
support branding of the site, using a different brand name than "MapOSMatic"
(based on a patch by github user Nimn)pull/24/head
rodzic
1ca10b73d0
commit
a3e104ab7c
|
@ -142,6 +142,7 @@ def all(request):
|
|||
'LANGUAGES_LIST': www.settings.LANGUAGES_LIST,
|
||||
'MAP_LANGUAGES': www.settings.MAP_LANGUAGES,
|
||||
'BBOX_MAXIMUM_LENGTH_IN_METERS': www.settings.BBOX_MAXIMUM_LENGTH_IN_METERS,
|
||||
'BRAND_NAME': www.settings.BRAND_NAME,
|
||||
|
||||
'searchform': forms.MapSearchForm(request.GET),
|
||||
'blogposts': get_latest_blog_posts(),
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ LANGUAGE_CODE }}"{% if LANGUAGE_BIDI %} dir="rtl"{% endif %}>
|
||||
<head>
|
||||
<title>MyOSMatic{% if DEBUG %} [DEV]{% endif %}: {% block title %}Welcome!{% endblock %}</title>
|
||||
<title>{{BRAND_NAME}}{% if DEBUG %} [DEV]{% endif %}: {% block title %}Welcome!{% endblock %}</title>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
|
@ -92,7 +92,7 @@
|
|||
data-placement="bottom"
|
||||
data-content='<p>{% trans "Rendering daemon: " %}<i class="pull-right glyphicon glyphicon-{% if daemon_running %}ok{% else %}remove{% endif %}"></i></p>
|
||||
<p>{% trans "GIS database: " %}<i class="pull-right glyphicon glyphicon-{% if gis_lag_ok %}ok{% else %}{% if gis_lastupdate %}warning-sign{% else %}remove{% endif %}{% endif %}"></i></p>'
|
||||
class="navbar-brand popovered" href="#"><i class="glyphicon glyphicon-{{ platform_status }}"></i> Maposmatic</a>
|
||||
class="navbar-brand popovered" href="#"><i class="glyphicon glyphicon-{{ platform_status }}"></i> {{BRAND_NAME}}</a>
|
||||
</div>
|
||||
|
||||
<div id="navbar" class="navbar-collapse collapse">
|
||||
|
|
|
@ -37,12 +37,12 @@
|
|||
Note: This is a fork of the original <a href="http://maposmatic.org/">MapOSMatic</a> service.
|
||||
</div>
|
||||
|
||||
<h1>{% trans "Welcome to MapOSMatic!" %}</h1>
|
||||
<h1>{% trans "Welcome to" %} {{BRAND_NAME}}</h1>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<p>
|
||||
{% blocktrans %}MapOSMatic is a free software web service that allows you to generate maps of cities using <a href="http://www.openstreetmap.org">OpenStreetMap</a> data. The generated maps are available in PNG, PDF and SVG formats and are ready to be printed.{% endblocktrans %}
|
||||
{% blocktrans %}This is a free software web service that allows you to generate maps of cities using <a href="http://www.openstreetmap.org">OpenStreetMap</a> data. The generated maps are available in PNG, PDF and SVG formats and are ready to be printed.{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
|
Ładowanie…
Reference in New Issue