Commit 25670a1f authored by Simonas's avatar Simonas

release 0.0.20

parent 5fb56c50
......@@ -112,10 +112,10 @@ Can't share C drive
- docker load --input ourdemo.tar
- docker build -t biuro/web:0.0.18 .
- docker build -t biuro/web:0.0.20 .
- docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs
- sudo docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs
- docker push biuro/web:0.0.18
- docker push biuro/web:0.0.20
- sudo chown -R www-data:www-data wordpress/wp-content/plugins
......@@ -128,6 +128,13 @@ Can't share C drive
- `use dev_biuro;`
- `show tables;`
- `sudo docker exec -it biuro-staging-mysql bash`
- `mysql -uroot -p'#w1ML4QfWaR*8dBYRL7aZJI$' --default-character-set=utf8`
- `use information_schema;`
- `select * from SCHEMATA;`
......
msgid ""
msgstr ""
"Project-Id-Version: Biuro Contacts\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-29 08:13+0000\n"
"PO-Revision-Date: 2019-04-29 08:17+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Lithuanian\n"
"Language: lt-LT\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10 >= 2 "
"&&(n%100<10||n%100 >= 20)? 1 : 2);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\n"
"X-Loco-Version: 2.2.2; wp-5.1.1"
#: public/class-biuro-contacts-public.php:149
msgid "This field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:162
msgid "Phone or email field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:173
msgid "Incorrect phone number"
msgstr ""
#: public/class-biuro-contacts-public.php:183
msgid "Email or phone field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:190
msgid "Email format is incorrect"
msgstr ""
#: public/class-biuro-contacts-public.php:205
msgid "You have to agree with conditions"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-1.php:29
#: public/partials/biuro-contacts-public--employers--step-1.php:29
#: public/partials/biuro-contacts-public--position--step-2.php:29
msgid "Name, surname"
msgstr "Vardas, pavardė"
#: public/partials/biuro-contacts-public--employees--step-1.php:46
#: public/partials/biuro-contacts-public--employers--step-1.php:46
#: public/partials/biuro-contacts-public--position--step-2.php:46
msgid "Phone no."
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-1.php:63
#: public/partials/biuro-contacts-public--employers--step-1.php:63
#: public/partials/biuro-contacts-public--position--step-2.php:63
msgid "Email address"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-1.php:76
#: public/partials/biuro-contacts-public--employees--step-2.php:45
#: public/partials/biuro-contacts-public--employers--step-1.php:76
#: public/partials/biuro-contacts-public--employers--step-2.php:47
msgid "Submit"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-1.php:88
#: public/partials/biuro-contacts-public--employers--step-1.php:88
#: public/partials/biuro-contacts-public--position--step-2.php:103
msgid ""
"Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis "
"ducimus repudiandae iste eos voluptatum architecto mollitia?"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:23
#: public/partials/biuro-contacts-public--employers--step-2.php:23
#: public/partials/biuro-contacts-public--position--step-2.php:75
msgid "City"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:30
#: public/partials/biuro-contacts-public--employers--step-2.php:30
#: public/partials/biuro-contacts-public--position--step-2.php:82
msgid "Message"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:37
#: public/partials/biuro-contacts-public--position--step-2.php:89
msgid "CV"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:52
#: public/partials/biuro-contacts-public--employers--step-2.php:54
#: public/partials/biuro-contacts-public--position--step-2.php:115
msgid "Noster apster lorem ipsum dolor sit amet, consectetur adipisicing elit?"
msgstr ""
#: public/partials/biuro-contacts-public--position--step-1.php:24
#: public/partials/biuro-contacts-public--position--step-2.php:121
msgid "Apply"
msgstr ""
#. Name of the plugin
msgid "Biuro Contacts"
msgstr ""
#. Description of the plugin
msgid ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
msgstr ""
#. URI of the plugin
#. Author URI of the plugin
msgid "https://www.biuro.lt"
msgstr ""
#. Author of the plugin
msgid "Biuro"
msgstr ""
msgid ""
msgstr ""
"Project-Id-Version: Biuro Contacts\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-29 08:13+0000\n"
"PO-Revision-Date: 2019-04-29 17:18+0000\n"
"Last-Translator: biuro <info@biuro.eu>\n"
"Language-Team: Lithuanian\n"
"Language: lt_LT\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10 >= 2 "
"&&(n%100<10||n%100 >= 20)? 1 : 2);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Loco https://localise.biz/\n"
"X-Loco-Version: 2.2.2; wp-5.1.1"
#: public/class-biuro-contacts-public.php:149
msgid "This field is required"
msgstr "Būtinas laukas"
#: public/class-biuro-contacts-public.php:162
msgid "Phone or email field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:173
msgid "Incorrect phone number"
msgstr ""
#: public/class-biuro-contacts-public.php:183
msgid "Email or phone field is required"
msgstr ""
#: public/class-biuro-contacts-public.php:190
msgid "Email format is incorrect"
msgstr ""
#: public/class-biuro-contacts-public.php:205
msgid "You have to agree with conditions"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-1.php:29
#: public/partials/biuro-contacts-public--employers--step-1.php:29
#: public/partials/biuro-contacts-public--position--step-2.php:29
msgid "Name, surname"
msgstr "Vardas, pavardė"
#: public/partials/biuro-contacts-public--employees--step-1.php:46
#: public/partials/biuro-contacts-public--employers--step-1.php:46
#: public/partials/biuro-contacts-public--position--step-2.php:46
msgid "Phone no."
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-1.php:63
#: public/partials/biuro-contacts-public--employers--step-1.php:63
#: public/partials/biuro-contacts-public--position--step-2.php:63
msgid "Email address"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-1.php:76
#: public/partials/biuro-contacts-public--employees--step-2.php:45
#: public/partials/biuro-contacts-public--employers--step-1.php:76
#: public/partials/biuro-contacts-public--employers--step-2.php:47
msgid "Submit"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-1.php:88
#: public/partials/biuro-contacts-public--employers--step-1.php:88
#: public/partials/biuro-contacts-public--position--step-2.php:103
msgid ""
"Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis "
"ducimus repudiandae iste eos voluptatum architecto mollitia?"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:23
#: public/partials/biuro-contacts-public--employers--step-2.php:23
#: public/partials/biuro-contacts-public--position--step-2.php:75
msgid "City"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:30
#: public/partials/biuro-contacts-public--employers--step-2.php:30
#: public/partials/biuro-contacts-public--position--step-2.php:82
msgid "Message"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:37
#: public/partials/biuro-contacts-public--position--step-2.php:89
msgid "CV"
msgstr ""
#: public/partials/biuro-contacts-public--employees--step-2.php:52
#: public/partials/biuro-contacts-public--employers--step-2.php:54
#: public/partials/biuro-contacts-public--position--step-2.php:115
msgid "Noster apster lorem ipsum dolor sit amet, consectetur adipisicing elit?"
msgstr ""
#: public/partials/biuro-contacts-public--position--step-1.php:24
#: public/partials/biuro-contacts-public--position--step-2.php:121
msgid "Apply"
msgstr ""
#. Name of the plugin
msgid "Biuro Contacts"
msgstr ""
#. Description of the plugin
msgid ""
"This is a short description of what the plugin does. It's displayed in the "
"WordPress admin area."
msgstr ""
#. URI of the plugin
#. Author URI of the plugin
msgid "https://www.biuro.lt"
msgstr ""
#. Author of the plugin
msgid "Biuro"
msgstr ""
......@@ -167,7 +167,7 @@ class Biuro_Contacts_Public {
return $empty;
endif;
if ( strlen($value) < 6):
if ( strlen($value) < 7 || !preg_match('/^[\d|\s|\+\-]+$/', $value) ):
return [
'status' => 'error',
'message' => __('Incorrect phone number', 'biuro-contacts')
......
......@@ -82,7 +82,7 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row">
<div class="c-form--checkbox-wrap">
<input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?>>
<label class="c-form--label-checkbox" for="form-agree"><?php _e('Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis ducimus repudiandae iste eos voluptatum architecto mollitia?', 'biuro-contacts'); ?></label>
<label class="c-form--label-checkbox" for="form-agree"><?php _e('I agree, that my personal data will be used for offering me a job. For more detailed information view our <a href="https://biuro.eu/privacy-en.html" target="_blank" rel="noopener">Personal Data Protection Policy.</a>', 'biuro-contacts'); ?></label>
</div>
<?php if ($agreeMessage): ?>
<div class="c-form--validation c-form--validation-<?php echo $agreeStatus; ?>">
......
......@@ -45,10 +45,3 @@ if ( ! defined( 'WPINC' ) ) die;
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2" onclick="ga('send', 'event', 'ContactFormEmployee', 'Button', 'UpdateContactFormEmployee');"><?php _e('Submit', 'biuro-contacts'); ?></button>
</div>
</div><!-- .c-form--row -->
<div class="c-form--row">
<div class="c-form--checkbox-wrap">
<input id="form-confirm" type="checkbox" class="c-form--checkbox" name="confirm" value="1">
<label class="c-form--label-checkbox" for="form-confirm"><?php _e('Noster apster lorem ipsum dolor sit amet, consectetur adipisicing elit?', 'biuro-contacts'); ?></label>
</div>
</div><!-- .c-form--row -->
......@@ -82,7 +82,7 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row">
<div class="c-form--checkbox-wrap">
<input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?>>
<label class="c-form--label-checkbox" for="form-agree"><?php _e('Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis ducimus repudiandae iste eos voluptatum architecto mollitia?', 'biuro-contacts'); ?></label>
<label class="c-form--label-checkbox" for="form-agree"><?php _e('I agree, that my personal data will be used for communicating during the pre-contractual relationship. For more detailed information view our <a href="https://biuro.eu/privacy-en.html" target="_blank" rel="noopener">Personal Data Protection Policy.</a>', 'biuro-contacts'); ?></label>
</div>
<?php if ($agreeMessage): ?>
<div class="c-form--validation c-form--validation-<?php echo $agreeStatus; ?>">
......
......@@ -47,10 +47,3 @@ if ( ! defined( 'WPINC' ) ) die;
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2" onclick="ga('send', 'event', 'ContactForm', 'Button', 'UpdateContactForm');"><?php _e('Submit', 'biuro-contacts'); ?></button>
</div>
</div><!-- .c-form--row -->
<div class="c-form--row">
<div class="c-form--checkbox-wrap">
<input id="form-confirm" type="checkbox" class="c-form--checkbox" name="confirm" value="1">
<label class="c-form--label-checkbox" for="form-confirm"><?php _e('Noster apster lorem ipsum dolor sit amet, consectetur adipisicing elit?', 'biuro-contacts'); ?></label>
</div>
</div><!-- .c-form--row -->
......@@ -118,7 +118,7 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row">
<div class="c-form--checkbox-wrap">
<input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?>>
<label class="c-form--label-checkbox" for="form-agree"><?php _e('Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis ducimus repudiandae iste eos voluptatum architecto mollitia?', 'biuro-contacts'); ?></label>
<label class="c-form--label-checkbox" for="form-agree"><?php _e('I agree, that my personal data will be used for offering me a job. For more detailed information view our <a href="https://biuro.eu/privacy-en.html" target="_blank" rel="noopener">Personal Data Protection Policy.</a>', 'biuro-contacts'); ?></label>
</div>
<?php if ($agreeMessage): ?>
<div class="c-form--validation c-form--validation-<?php echo $agreeStatus; ?>">
......@@ -127,13 +127,6 @@ if ( ! defined( 'WPINC' ) ) die;
<?php endif; ?>
</div><!-- .c-form--row -->
<div class="c-form--row">
<div class="c-form--checkbox-wrap">
<input id="form-confirm" type="checkbox" class="c-form--checkbox" name="confirm" value="1" <?php if ($confirmValue): ?> checked="checked"<?php endif; ?>>
<label class="c-form--label-checkbox" for="form-confirm"><?php _e('Noster apster lorem ipsum dolor sit amet, consectetur adipisicing elit?', 'biuro-contacts'); ?></label>
</div>
</div><!-- .c-form--row -->
<div class="c-form--row">
<div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="s" value="2" onclick="ga('send', 'event', 'CVForm', 'Button', 'SendCVForm');"><?php _e('Apply', 'biuro-contacts'); ?></button>
......
......@@ -131,6 +131,7 @@ global $post;
<a href="<?php echo get_the_permalink(); ?>" class="o-btn c-btn--main c-btn--header"><?php _e('Get an offer', 'biuro'); ?></a>
<?php
endwhile;
wp_reset_query();
endif;
else:
......@@ -148,6 +149,7 @@ global $post;
<a href="<?php echo get_the_permalink(); ?>" class="o-btn c-btn--main c-btn--header"><?php _e('Get a job offer', 'biuro'); ?></a>
<?php
endwhile;
wp_reset_query();
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