Skip to content

Commit

Permalink
project: change web app name from 'Prahou na kole' to 'Městem na kole'
Browse files Browse the repository at this point in the history
  • Loading branch information
tmszi committed Mar 20, 2021
1 parent 7f798bb commit 946c0b5
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

Sorry, no english info at moment. Please contact [email protected] with any questions.

Mapa Prahou na kole
Mapa Městem na kole
============

Django aplikace cyklistická mapa Prahou na kole http://mapa.prahounakole.cz
Django aplikace cyklistická mapa Městem na kole http://mapa.prahounakole.cz

Přináší vám nejkvalitnější výběr praktických tras pro jízdu na kole po Praze. Trasy v cyklomapě rozšiřují stávající síť značených cyklotras o vhodné trasy v celé Praze včetně centra. Trasy tvoří výběr vedlejších uliček, parkových cest, nepoužívaných chodníků a vtipných zkratek.

Expand Down
2 changes: 1 addition & 1 deletion apps/cyklomapa/static/js/mapa.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function init(mapconfig) {
slug: "C",
});
layerPNK = new OpenLayers.Layer.OSM(
"Prahou na kole",
"Městem na kole",
"https://tiles.prahounakole.cz/", {
slug:"P",
type: 'png',
Expand Down
2 changes: 1 addition & 1 deletion apps/cyklomapa/templates/400.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<body>
<div id="summary">
<h1>Prahou na kole: Omlouváme se</h1>
<h1>Městem na kole: Omlouváme se</h1>
<h2>Stránka nenalezena</h2>
</div>

Expand Down
4 changes: 2 additions & 2 deletions apps/cyklomapa/templates/404.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="robots" content="NONE,NOARCHIVE"><title>Prahou na kole</title>
<meta name="robots" content="NONE,NOARCHIVE"><title>Městem na kole</title>
<style type="text/css">
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
Expand All @@ -28,7 +28,7 @@

<body>
<div id="summary">
<h1>Prahou na kole: Omlouváme se</h1>
<h1>Městem na kole: Omlouváme se</h1>
<h2>Stránka nenalezena</h2>
</div>

Expand Down
4 changes: 2 additions & 2 deletions apps/cyklomapa/templates/500.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="robots" content="NONE,NOARCHIVE"><title>Prahou na kole</title>
<meta name="robots" content="NONE,NOARCHIVE"><title>Městem na kole</title>
<style type="text/css">
html * { padding:0; margin:0; }
body * { padding:10px 20px; }
Expand All @@ -28,7 +28,7 @@

<body>
<div id="summary">
<h1>Prahou na kole: Omlouváme se</h1>
<h1>Městem na kole: Omlouváme se</h1>
<h2>Nastala chyba</h2>
</div>

Expand Down
14 changes: 7 additions & 7 deletions apps/cyklomapa/templates/mapa.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<link rel="stylesheet" href="{% static "jquery-ui/themes/base/jquery-ui.css" %}" type="text/css" />

<link rel="stylesheet" href="{% static "bootstrap/css/bootstrap.min.css" %}" type="text/css" />
<link rel="stylesheet" href="{% static "css/openlayers.css" %}" type="text/css" />
<link rel="stylesheet" href="{% static "css/openlayers.css" %}" type="text/css" />
<link rel="stylesheet" href="{% static "css/google.css" %}" type="text/css" />
<link rel="stylesheet" href="{% static "css/layerswitcher.css" %}" type="text/css" />
<link rel="stylesheet" href="{% static "lightbox2/dist/css/lightbox.css" %}" type="text/css" />
Expand Down Expand Up @@ -54,7 +54,7 @@
<link rel="alternate" type="application/rss+xml" title="Uzavírky" href="{% url 'uzavirky_feed' %}" />
<link rel="alternate" type="application/rss+xml" title="Nejnovější komentáře" href="{% url 'latest_comments_feed' %}" />

<title>Mapa Prahou na kole - cyklomapa města {{ mesto.sektor }} </title>
<title>Mapa Městem na kole - cyklomapa města {{ mesto.sektor }} </title>

<script type="text/javascript">
var mapconfig = {};
Expand All @@ -66,7 +66,7 @@
enabled = "{{v.enabled}}";
{% endif %}
mapconfig['vrstvy'].push(["{{v.name}}", "{% url 'kml_view' v.slug %}", enabled, "{{v.slug}}"]);
{% endfor %}
{% endfor %}
mapconfig['basezoom'] = {{ mesto.zoom }};
mapconfig['address_search_area'] = "{{ mesto.sektor.geom.extent|join:"," }}";
mapconfig['maxzoom'] = {{ mesto.maxzoom }};
Expand Down Expand Up @@ -134,17 +134,17 @@
<nav class="col-md-10 col-md-offset-1">
<div class="row centred">
<div class="col-md-12 logo">
<a href="https://mapa.prahounakole.cz">Prahou na kole <img src="{% static "css/prazak.png" %}" alt="mapa.prahounakole.cz">
<a href="https://mapa.prahounakole.cz">Městem na kole <img src="{% static "css/prazak.png" %}" alt="mapa.prahounakole.cz">
</a>
</div>
<div class="row tabs">
<div class="col-md-3">
<div class="col-md-3">
<a href="#" class="tab_switch active">
<span class="sprite mapa btn mode-btn"></span>
<label>Vyhledat místo</label>
</a>
</div>
<div class="col-md-3 ">
<div class="col-md-3 ">
<a href="#hledani" class="tab_switch">
<span class="sprite btn mode-btn hledani"></span>
<label>Vyhledat trasu</label>
Expand All @@ -156,7 +156,7 @@
<label>Informace</label>
</a>
</div>
<div class="col-md-3">
<div class="col-md-3">
<a id="feedback-btn" class="tab_switch feedback_button">
<span class="sprite btn mode-btn feedback"></span>
<label>Napište nám</label>
Expand Down
14 changes: 7 additions & 7 deletions apps/cyklomapa/templates/misto.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html>
<head>
<link rel="stylesheet" href="{{ STATIC_URL }}css/prahounakole.css" type="text/css" />

<title>{{ poi }}</title>
</head>
<body>
Expand All @@ -20,11 +20,11 @@ <h2>{{ poi }}</h2>
{% if poi.url %}
<p><span class="titulek">Webové stránky:</span><br><a href="{{ poi.url|safe }}" title="{{ poi.url|safe }}" target="_blank">{{ poi.url|safe }}</a></p>
{% endif %}

{% if poi.desc %}
<p><span class="titulek">Popis:</span><br>{{ poi.desc|safe }}</p>
{% endif %}

{% if poi.desc_extra %}
{{ poi.desc_extra|safe }}
{% endif %}
Expand All @@ -39,13 +39,13 @@ <h2>{{ poi }}</h2>
<a href="{% url 'cyklomapa.views.mapa_view' poi.id %}" target="_top" title="Ukázat v mapě">zobrazit v mapě</a></p>

<hr>

<!--
<h4>HTML pro zobrazení odkazu na mapu Prahou na kole</h4>
<h4>HTML pro zobrazení odkazu na mapu Městem na kole</h4>
<p>Permalink na místo: <a href="http://zelenamapa.cz{% url cyklomapa.views.mapa_view poi.id %}" target="_top">http://zelenamapa.cz{% url cyklomapa.views.mapa_view poi.id %}</a></p>
-->


</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/cyklomapa/templates/neaktivni.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Mapa Prahou na kole - {{ mesto.sektor }} </title>
<title>Mapa Městem na kole - {{ mesto.sektor }} </title>
</head>
<body>
<h2>Město {{ mesto.sektor }} není aktivní.</h2>
Expand Down
16 changes: 8 additions & 8 deletions apps/cyklomapa/templates/znacky.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<html>
<head>
<link rel="stylesheet" href="http://www.prahounakole.cz/wp-content/themes/pnk1/style.css" type="text/css" media="screen" />

<title>Znacky</title>
</head>
<body style="background-color:#F9F9F9; margin:5px;">
<h2>Prahou na kole - legenda</h2>
<h2>Městem na kole - legenda</h2>

<h4>&nbsp;<br>Podklad mapy:</h4>

Expand All @@ -18,13 +18,13 @@ <h4>&nbsp;<br>Podklad mapy:</h4>
{% endfor %}

</dl>

{% for v in vrstvy reversed %}
<h4>&nbsp;<br>{{ v }}:</h4>

<dl class="desc_vlastnosti">
{% for z in znacky %}
{% if z.layer.pk == v.pk %}
{% if z.layer.pk == v.pk %}
<dt><a name="{{z.slug}}"></a>
{% if z.default_icon %}
<img src="{{z.default_icon.url}}" alt="{{ z.name }}"/>
Expand All @@ -33,9 +33,9 @@ <h4>&nbsp;<br>{{ v }}:</h4>
{% if z.desc %}
<dd>{{z.desc|safe}}</dd>
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}

</dl>
{% endfor %}

Expand Down
2 changes: 1 addition & 1 deletion project/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def normpath(*args):
PROJECT_DIR = normpath(__file__, "..", "..", "..")
BASE_DIR = PROJECT_DIR

DEFAULT_FROM_EMAIL = 'Prahou na kole <redakce@prahounakole.cz>'
DEFAULT_FROM_EMAIL = 'Městem na kole <redakce@mestemnakole.cz>'

sys.path.append(normpath(PROJECT_DIR, "project"))
sys.path.append(normpath(PROJECT_DIR, "apps"))
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@

setup(
name='prahounakole',
description="Django aplikace cyklistická mapa Prahou na kole http://mapa.prahounakole.cz/",
description="Django aplikace cyklistická mapa Městem na kole http://mapa.prahounakole.cz/",
url="http://github.com/auto-mat/prahounakole",
long_description=long_description,
version=__versionstr__,
author="Auto*Mat",
author_email="redakce@prahounakole.cz",
author_email="redakce@mestemnakole.cz",
license="BSD",
packages=['cyklomapa', 'pnk'],
classifiers=[
Expand Down

0 comments on commit 946c0b5

Please sign in to comment.