Commit 64b4d1ff authored by Joseph Nuthalapati's avatar Joseph Nuthalapati Committed by James Valleroy

Rename store_type to store_name

Signed-off-by: Joseph Nuthalapati's avatarJoseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy's avatarJames Valleroy <jvalleroy@mailbox.org>
parent d403782b
......@@ -30,7 +30,7 @@ clients = [
'type': 'store',
'os': 'Android',
'os_version': '>4.2.0',
'store_type': 'fdroid_store',
'store_name': 'fdroid_store',
'url': 'https://f-droid.org/repository/browse/?fdid=com'
'.github.dfa.diaspora_android ',
'fully_qualified_name': 'com.github.dfa.diaspora_android'
......
......@@ -26,7 +26,7 @@ clients = [
{
'type': 'store',
'os': 'Android',
'store_type': 'google_play_store',
'store_name': 'google_play_store',
'fully_qualified_name': 'org.yaxim.androidclient',
'url': 'https://play.google.com/store/apps/details?id=org'
'.yaxim.androidclient '
......@@ -40,7 +40,7 @@ clients = [
{
'type': 'store',
'os': 'Android',
'store_type': 'google_play_store',
'store_name': 'google_play_store',
'fully_qualified_name': 'org.yaxim.bruno',
'url': 'https://play.google.com/store/apps/details?id'
'=org.yaxim.bruno '
......@@ -60,7 +60,7 @@ clients = [
{
'type': 'store',
'os': 'iOS',
'store_type': 'apple_store',
'store_name': 'apple_store',
'url': 'https://itunes.apple.com/us/app/chatsecure'
'/id464200063 '
}
......@@ -72,7 +72,7 @@ clients = [
{
'type': 'store',
'os': 'Android',
'store_type': 'google_play_store',
'store_name': 'google_play_store',
'url': 'https://play.google.com/store/apps/details?id'
'=eu.siacs.conversations ',
'fully_qualified_name': 'eu.siacs.conversations'
......
......@@ -31,7 +31,7 @@ clients = [
{
'type': 'store',
'os': 'Android',
'store_type': 'google_play_store',
'store_name': 'google_play_store',
'fully_qualified_name': 'net.minetest.minetest',
'url': 'https://play.google.com/store/apps/details?id=net'
'.minetest.minetest '
......@@ -39,7 +39,7 @@ clients = [
{
'type': 'store',
'os': 'Android',
'store_type': 'fdroid_store',
'store_name': 'fdroid_store',
'fully_qualified_name': 'net.minetest.minetest',
'url': 'https://f-droid.org/packages/net.minetest.minetest/ '
},
......
......@@ -48,7 +48,7 @@ clients = [
'type': 'store',
'os': 'iOS',
'os_version': '>=8.0',
'store_type': 'apple_store',
'store_name': 'apple_store',
'url': 'https://itunes.apple.com/us/app/mumble/id443472808'
}
]
......@@ -59,7 +59,7 @@ clients = [
{
'type': 'store',
'os': 'Android',
'store_type': 'google_play_store',
'store_name': 'google_play_store',
'url': 'https://play.google.com/store/apps/details?id=com'
'.morlunk.mumbleclient.free ',
'fully_qualified_name': 'com.morlunk.mumbleclient'
......@@ -67,7 +67,7 @@ clients = [
{
'type': 'store',
'os': 'Android',
'store_type': 'fdroid_store',
'store_name': 'fdroid_store',
'url': 'https://play.google.com/store/apps/details?id=com'
'.morlunk.mumbleclient.free ',
'fully_qualified_name': 'com.morlunk.mumbleclient'
......@@ -81,7 +81,7 @@ clients = [
'type': 'store',
'os': 'iOS',
'os_version': '>=7.0',
'store_type': 'apple_store',
'store_name': 'apple_store',
'url': 'https://itunes.apple.com/dk/app/mumblefy/id858752232'
}
]
......
......@@ -40,7 +40,7 @@ clients = [
{
'type': 'store',
'os': 'Android',
'store_type': 'google_play_store',
'store_name': 'google_play_store',
'url': 'https://play.google.com/store/apps/details?id=com'
'.iskrembilen.quasseldroid',
'fully_qualified_name': 'com.iskrembilen.quasseldroid'
......
......@@ -28,7 +28,7 @@ clients = [
{
'type': 'store',
'os': 'Android',
'store_type': 'google_play_store',
'store_name': 'google_play_store',
'url': 'https://play.google.com/store/apps/details?id=at'
'.bitfire.davdroid',
'fully_qualified_name': 'at.bitfire.davdroid'
......
......@@ -32,7 +32,7 @@ clients = [
{
'type': 'store',
'os': 'Android',
'store_type': 'google_play_store',
'store_name': 'google_play_store',
'fully_qualified_name': 'org.jitsi.meet',
'url': 'https://play.google.com/store/apps/details?id=org'
'.jitsi.meet '
......@@ -40,7 +40,7 @@ clients = [
{
'type': 'store',
'os': 'iOS',
'store_type': 'apple_store',
'store_name': 'apple_store',
'url': 'https://itunes.apple.com/in/app/jitsi-meet/id1165103905'
},
{
......@@ -79,7 +79,7 @@ clients = [
{
'type': 'store',
'os': 'Android',
'store_type': 'google_play_store',
'store_name': 'google_play_store',
'fully_qualified_name': 'com.csipsimple',
'url': 'https://play.google.com/store/apps/details?id=com'
'.csipsimple '
......
......@@ -56,7 +56,7 @@ clients = [
{
'type': 'store',
'os': 'Android',
'store_type': 'google_play_store',
'store_name': 'google_play_store',
'url': 'https://play.google.com/store/apps/details?id=org'
'.torproject.android',
'fully_qualified_name': 'org.torproject.android'
......@@ -64,7 +64,7 @@ clients = [
{
'type': 'store',
'os': 'Android',
'store_type': 'fdroid_store',
'store_name': 'fdroid_store',
'url': 'https://play.google.com/store/apps/details?id=org'
'.torproject.android',
'fully_qualified_name': 'org.torproject.android'
......
......@@ -24,7 +24,7 @@ clients = [
{
'type': 'store',
'os': 'Android',
'store_type': 'google_play-store',
'store_name': 'google_play-store',
'url': 'https://play.google.com/store/apps/details?id=org'
'.ttrssreader',
'fully_qualified_name': 'org.ttrssreader'
......@@ -32,7 +32,7 @@ clients = [
{
'type': 'store',
'os': 'Android',
'store_type': 'fdroid_store',
'store_name': 'fdroid_store',
'url': 'https://f-droid.org/packages/org.ttrssreader/',
'fully_qualified_name': 'org.ttrssreader'
},
......
......@@ -40,12 +40,8 @@
<p class="heading">{% trans "Desktop Clients" %}:
<ul>
{% for client in module.clients %}
<li class="col-md-12 col-xs-12">
<span>
{{ client.name }}
</span>
</li>
<div class ="row">
<li class="col-md-12 col-xs-12"> <span> {{ client.name }} </span> </li>
<div class ="row">
{% for platform in client.platforms %}
{% if platform.type == 'download' %}
<div class="col-md-1 col-xs-2">
......@@ -61,6 +57,7 @@
</div>
{% endif %}
{% endfor %}
</div>
{% endfor %}
</ul>
</div>
......@@ -76,17 +73,16 @@
{% if platform.type == 'store' and platform.os == 'Android' %}
{% if platform.store_name == 'fdroid_store' %}
<div class="col-md-2 col-xs-4">
<a href="{{ platform.url }}">
<img class="store-icon" src="{% static 'theme/img/f-droid.png' %}"/>
</a>
<a href="{{ platform.url }}">
<img class="store-icon" src="{% static 'theme/img/f-droid.png' %}"/>
</a>
</div>
{% endif %}
{% if platform.store_name == 'google_play_store' %}
<div class="col-md-2 col-xs-4">
<a href="{{ platform.url }}">
<img class="store-icon"
src="{% static 'theme/img/google-play.png' %}"/>
</a>
<a href="{{ platform.url }}">
<img class="store-icon" src="{% static 'theme/img/google-play.png' %}"/>
</a>
</div>
{% endif %}
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment