diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2020-10-04 12:50:41 +0200 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2020-10-04 12:50:41 +0200 | 
| commit | 0b6df3859c69835c24fe78549cf1f079c386f7b3 (patch) | |
| tree | 640cb4cd114abdbae01a096cf27c2a688b64e6bb | |
| parent | e13b5afe4f23648358c01a4d3809d0ccf46c592f (diff) | |
It's Public Beta Time!
| -rw-r--r-- | templates/account.html.ep | 4 | ||||
| -rw-r--r-- | templates/changelog.html.ep | 15 | ||||
| -rw-r--r-- | templates/landingpage.html.ep | 3 | ||||
| -rw-r--r-- | templates/traewelling.html.ep | 19 | 
4 files changed, 35 insertions, 6 deletions
diff --git a/templates/account.html.ep b/templates/account.html.ep index e5220ee..63dde38 100644 --- a/templates/account.html.ep +++ b/templates/account.html.ep @@ -107,14 +107,13 @@  						Aktiv, noch nicht ausgeführt  					% }  					% elsif ($hook->{errored}) { -						Aktiv, fehlerhaft <i class="material-icons">error</i> +						Aktiv, fehlerhaft <i class="material-icons" aria-hidden="true">error</i>  					% }  					% else {  						Aktiv  					% }  				</td>  			</tr> -			% if ($traewelling->{token}) {  			<tr>  				<th scope="row">Träwelling</th>  				<td> @@ -142,7 +141,6 @@  					% }  				</td>  			</tr> -			% }  			<tr>  				<th scope="row">Registriert am</th>  				<td><%= $acc->{registered_at}->strftime('%d.%m.%Y %H:%M') %></td> diff --git a/templates/changelog.html.ep b/templates/changelog.html.ep index 6591ca5..200a6d5 100644 --- a/templates/changelog.html.ep +++ b/templates/changelog.html.ep @@ -2,6 +2,21 @@  <div class="row">  	<div class="col s12 m1 l1"> +		1.18 +	</div> +	<div class="col s12 m11 l11"> +		<p> +			<i class="material-icons left" aria-label="Neues Feature">add</i> +			Autmatische Checkin-Synchronisierung mit +			<a href="https://traewelling.de">Träwelling</a>. Checkins können +			entweder von Träwelling zu travelynx oder von travelynx zu Träwelling +			übernommen werden. Das Feature läuft vorerst als Public Beta. +		</p> +	</div> +</div> + +<div class="row"> +	<div class="col s12 m1 l1">  		1.17  	</div>  	<div class="col s12 m11 l11"> diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index 938bb91..afadac5 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -94,7 +94,8 @@  					<li>Web-Hooks und <a href="/api">API</a> zum automatisierten Einchecken und Auslesen des aktuellen Status</li>  					<li>Statistiken über Reisezeiten und Verspätungen</li>  					<li>Unterstützung beim Ausfüllen von Fahrgastrechteformularen</li> -					<li>Optional: Öffentlich sichtbarer Reisestatus</li> +					<li>Optional: Öffentliches Profil und Reisestatus</li> +					<li>Optional: Verknüpfung mit Träwelling</li>  				</ul>  			</p>  			<p> diff --git a/templates/traewelling.html.ep b/templates/traewelling.html.ep index e15b746..7c38de1 100644 --- a/templates/traewelling.html.ep +++ b/templates/traewelling.html.ep @@ -150,8 +150,8 @@  		</div>  	</div>  	%= form_for '/account/traewelling' => (method => 'POST') => begin +		%= csrf_field  		<div class="row"> -			%= csrf_field  			<div class="input-field col s12">  				<div>  					<label> @@ -167,10 +167,25 @@  						<span>Checkin-Synchronisierung travelynx → Träwelling</span>  					</label>  				</div> +				<div> +					<label> +						%= check_box toot => 1 +						<span>… Checkin auf Mastodon veröffentlichen</span> +					</label> +				</div> +				<div> +					<label> +						%= check_box tweet => 1 +						<span>… Checkin auf Twitter veröffentlichen</span> +					</label> +				</div>  				<p>Die Synchronisierung erfolgt spätestens drei Minuten nach der  					Zielwahl.  Träwelling-Checkins können von travelynx noch nicht  					rückgängig gemacht werden. Eine nachträgliche Änderung der -					Zielstation wird nicht übernommen.</p> +					Zielstation wird nicht übernommen. Mastodon und Twitter beziehen +					sich auf die in den <a +					href="https://traewelling.de/settings">Träwelling-Einstellungen</a> +					verknüpften Accounts.</p>  			</div>  			<div class="input-field col s12">  				<div>  | 
