give the user an easy way to contact me when his pass is not working
This commit is contained in:
parent
52de4cdc26
commit
d639c5664d
2 changed files with 4 additions and 3 deletions
|
@ -281,9 +281,9 @@ public class TicketListActivity extends ActionBarActivity {
|
|||
|
||||
public String getHtmlForEmptViewDependingOnScaningState() {
|
||||
if (scanning) {
|
||||
return getString(R.string.scan_empty_text);
|
||||
return getString(R.string.scan_empty_text) + getString(R.string.no_passes_appendix);
|
||||
} else {
|
||||
return getString(R.string.no_passes_empty_text);
|
||||
return getString(R.string.no_passes_empty_text) + getString(R.string.no_passes_appendix);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -67,7 +67,8 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWIS
|
|||
<string name="delete">"Delete!"</string>
|
||||
<string name="choose_location">"Choose Location"</string>
|
||||
<string name="scan_empty_text"><![CDATA[searching for passes - you can also <a href=\'http://ligi.de/passandroid_samples/index.html\'>download example passes from here</a> ]]></string>
|
||||
<string name="no_passes_empty_text"><![CDATA[No passes yet - you can <a href=\'http://ligi.de/passandroid_samples/index.html\'>download example passes from here</a>]]></string>
|
||||
<string name="no_passes_empty_text"><![CDATA[No passes? ->you can <a href=\'http://ligi.de/passandroid_samples/index.html\'>download example passes from here</a> ]]></string>
|
||||
<string name="no_passes_appendix"><![CDATA[<br/><br/>Is <b>your Pass</b> not working? -><a href="mailto:ligi@ligi.de?subject=my%20pass%20is%20not%20working"> Write to me!</a> ]]></string>
|
||||
<string name="boarding_pass">"Boarding Pass"</string>
|
||||
<string name="category_event">"Event"</string>
|
||||
<string name="category_coupon">"Coupon"</string>
|
||||
|
|
Loading…
Reference in a new issue