diff --git a/code/portal_detail_display.js b/code/portal_detail_display.js index 486e8051..4bf4120b 100644 --- a/code/portal_detail_display.js +++ b/code/portal_detail_display.js @@ -83,9 +83,8 @@ window.renderPortalDetails = function(guid) { } // portal level. start with basic data - then extend with fractional info in tooltip if available -//FIXME: use details or data if possible, to avoid ambiguity - var levelInt = portal.options.level; - var levelDetails = portal.options.level; + var levelInt = (teamStringToId(data.team) == TEAM_NONE) ? 0 : data.level; + var levelDetails = levelInt; if (details) { levelDetails = getPortalLevel(details); if(levelDetails != 8) { @@ -126,7 +125,7 @@ window.renderPortalDetails = function(guid) { $('#portaldetails') .html('') //to ensure it's clear - .attr('class', TEAM_TO_CSS[portal.options.team]) //FIXME: use details/data if possible, to avoid ambiguity + .attr('class', TEAM_TO_CSS[teamStringToId(data.team)]) .append( $('

').attr({class:'title'}).text(data.title), diff --git a/mobile/res/values/strings.xml b/mobile/res/values/strings.xml index e101cef4..68552943 100644 --- a/mobile/res/values/strings.xml +++ b/mobile/res/values/strings.xml @@ -106,6 +106,7 @@ Misc Tweaks IITC Plugins + Plugins extend/modify the IITC experience. Most plugins known from desktop IITC can be found here. Available plugins Display user location on map Show zoom control diff --git a/mobile/res/xml/preferences.xml b/mobile/res/xml/preferences.xml index 1244770c..14219efd 100644 --- a/mobile/res/xml/preferences.xml +++ b/mobile/res/xml/preferences.xml @@ -36,7 +36,8 @@ android:fragment="com.cradle.iitc_mobile.fragments.PluginsFragment" android:key="pref_plugins" android:persistent="false" - android:title="@string/pref_plugins"> + android:title="@string/pref_plugins" + android:summary="@string/pref_plugins_sum"> @@ -105,4 +106,4 @@ - \ No newline at end of file +