Open LanaPdg opened 4 years ago
Source file: http://staging.codeforcroatia.org/develop#/html-templates/includes/register.introduction.tpl
{* INTRODUCTION *}
<!-- Below i text box showing under title "Why to register?" -->
<section class="announcements">
{if Emergence\Locale::getRequestedLocale() == 'hr_HR.utf8'}
<p>
Programiraj za Hrvatsku je program ekspertne skupine udruge Otvoreni Sustavi - mi smo društveno orijentirana
mreža ljudi koji zalažu svoje glasove i radišne ruke da naprave svoj grad i zajednicu još boljim mjestom.
</p>
<p>Ako...
<ul>
<li>si volonter, programer, dizajner, aktivist ili građanin</li>
<li>želiš pridonijeti svoje vještine zajednici</li>
<li>želiš pomoći učiniti svoj grad boljim mjestom</li>
<li>želiš se pridružiti timu na društvenom projektu</li>
</ul>
Tada si na pravom mjestu!<br>
<br>
Što dobivaš nakon registracije?
<ul>
<li>Kao član ekspertne skupine postaješ i podupirajući član Otvorenih Sustava bez ikakvih obveza.</li>
<li>Možeš pristupiti bilo kojem resursu za članove Programiraj za Hrvatsku.</li>
<li>Biti ćeš pretplaćen na Code for Croatia novosti*.</li>
<li>Možeš sudjelovati na našim meetupima i bilo kojem projektu.</li>
<li>Možeš se checkinati na našim meetupima.</li>
</ul>
<i>* Možeš se odjaviti u bilo kojem trenu.</i><br>
<br>
Želiš znati više? <a href="/mission">Naš cilj</a> | <a href="/about-us">O nama</a>
</ul>
</p>
{else}
<p>
The Code for Croatia is HrOpen expert group program of a civic-minded network of people committed to using their voices
and hands, in collaboration with local governments, to make their city better.
</p>
<p>If you...
<ul>
<li>are volunteer, developer, designer, activist or just a citizen</li>
<li>want to contribute your skills to your community</li>
<li>want to make your city better place to live</li>
<li>want to join the team on a civic project</li>
</ul>
Then you're on the right place!<br>
<br>
What do you get after registering?
<ul>
<li>As an expert group member you become a HrOpen supporter.</li>
<li>You can access any Code for Croatia members resource.</li>
<li>You will be subscribed to a Code for Croatia newsletter*.</li>
<li>You can freely participate at our meetups and any project teams.</li>
<li>You can check-in at our meetups.</li>
</ul>
<i>* You can unsubsribe at any moment.</i><br>
<br>
Want to know more? <a href="/mission">Our mission</a> | <a href="/about-us">About us</a>
</ul>
</p>
{/if}
</section>
Fixed on staging.codeforcroatia.org. @LanaPdg please confirm.
Related: http://staging.codeforcroatia.org/develop#/html-templates/register/register.tpl
{extends "designs/site.tpl"}
{block "title"}Register — {$dwoo.parent}{/block}
{block js-top}
{$dwoo.parent}
{if RemoteSystems\ReCaptcha::$siteKey}
<script src='https://www.google.com/recaptcha/api.js'></script>
{/if}
{/block}
{block "content"}
{$User = $data}
<div class="row">
<div class="col-sm-14 col-md-12">
<div class="page-header">
<h1>{_("Register with %s")|sprintf:Laddr::$siteName|escape}</h1>
{contentBlock "register-introduction"}
</div>
</div>
<div class="col-sm-6 col-md-4">
<h1>{_ "Why to register?"}</h1>
{include includes/register.introduction.tpl}
</div>
<div class="col-sm-8 col-sm-offset-1 col-md-6 col-md-offset-2">
<h1>{_ "Register now!"}</h1>
<form method="POST" id="register">
{strip}
{if $User->validationErrors}
<div class="well well-sm">
<h2>{_ "There were problems with your submission:"}</h2>
<ul>
{foreach item=error key=field from=$User->validationErrors}
<li class="text-danger">{$field}: {$error|escape}</li>
{/foreach}
</ul>
</div>
{/if}
<div class="form-group">
<label class="control-label" for="FirstName">{_ "First Name"}</label>
<input type="text" class="form-control" id="FirstName" name="FirstName" value="{refill field=FirstName}" placeholder="{_ 'Jill'}">
</div>
<div class="form-group">
<label class="control-label" for="LastName">{_ "Last Name"}</label>
<input type="text" class="form-control" id="LastName" name="LastName" value="{refill field=LastName}" placeholder="{_ 'Appleseed'}">
</div>
<div class="form-group">
<label class="control-label" for="Email">{_ "Email"}</label>
<input type="email" class="form-control" id="Email" name="Email" value="{refill field=Email}" placeholder="{_ 'civichacker@example.com'}" aria-describedby="email-help-block">
<p id="email-help-block" class="help-block">Email address <strong>will</strong> be visible to other signed-in memebers.</p>
</div>
<input id="Website" name="Website" type="text" value="" />
<div class="form-group">
<label class="control-label" for="Username">{_ "Username"}</label>
<input type="text" class="form-control" id="Username" name="Username" value="{refill field=Username}" placeholder="{_ 'CivicHacker'}">
</div>
<div class="form-group">
<label class="control-label" for="Password">{_ "Password"}</label>
<input type="password" class="form-control" id="Password" name="Password" value="{refill field=Password}">
</div>
<div class="form-group">
<label class="control-label" for="PasswordConfirm">{_ "Password Confirmation"}</label>
<input type="password" class="form-control" id="PasswordConfirm" name="PasswordConfirm" value="{refill field=PasswordConfirm}">
</div>
{if RemoteSystems\ReCaptcha::$siteKey}
<div class="form-group g-recaptcha" data-sitekey="{RemoteSystems\ReCaptcha::$siteKey|escape}"></div>
{/if}
<div class="form-group">
<p><button type="submit" class="btn btn-primary">{_ "Create Account"}</button></p>
<p class="help-block">{_ "Already have an account?"} <a href="/login{tif $.request.return ? cat('?return=', escape($.request.return, url))}">{_ "Log in"}</a></p>
</div>
{/strip}
</form>
</div>
</div>
{/block}
We need to migrate this change to new Laddr v3, so keeping this open until we do that.
Na stranici za registraciju na CfC (https://codeforcroatia.org/register) nalaze se zastarijele info
Docs s originalima i ispravcima teksta; https://docs.google.com/document/d/19cl367550M33F_UrNpf1u16HBCB4ol6-il9fAU9hDrQ/edit?ts=5e5aec07