Commit 39915bdb authored by Simon's avatar Simon

Small fixes

parent 747823ea
...@@ -291,18 +291,22 @@ get_header(); ...@@ -291,18 +291,22 @@ get_header();
echo '<b>' . __('Salary', 'biuro') . ':</b> '; echo '<b>' . __('Salary', 'biuro') . ':</b> ';
if ($pod->field( 'salary_from' ) > 0): if ($pod->field( 'salary_from' ) == $pod->field( 'salary_to' )):
if ($blogID !== 1 || $pod->field( 'salary_to' ) > 0):
echo __('from', 'biuro') . ' ';
endif;
echo $pod->field( 'salary_from' ) . ' '; echo $pod->field( 'salary_from' ) . ' ';
endif; else:
if ($pod->field( 'salary_from' ) > 0):
if ($blogID !== 1 || $pod->field( 'salary_to' ) > 0):
echo __('from', 'biuro') . ' ';
endif;
echo $pod->field( 'salary_from' ) . ' ';
endif;
if ($pod->field( 'salary_to' ) > 0): if ($pod->field( 'salary_to' ) > 0):
if ($blogID !== 1 || $pod->field( 'salary_from' ) > 0): if ($blogID !== 1 || $pod->field( 'salary_from' ) > 0):
echo __('to', 'biuro') . ' '; echo __('to', 'biuro') . ' ';
endif;
echo $pod->field( 'salary_to' ) . ' ';
endif; endif;
echo $pod->field( 'salary_to' ) . ' ';
endif; endif;
switch ($pod->field('salary_type')): switch ($pod->field('salary_type')):
......
...@@ -38,7 +38,7 @@ function showPosted($published, $valid) { ...@@ -38,7 +38,7 @@ function showPosted($published, $valid) {
<table class="c-jobs--table"> <table class="c-jobs--table">
<tr class="c-jobs--row-workis"> <tr class="c-jobs--row-workis">
<td class="c-jobs--col c-jobs--col-position"> <td class="c-jobs--col c-jobs--col-position">
<a class="c-jobs--anchor" href="https://www.workis.online/employees" target="_blank" rel="noopener">Papildomi darbai Lietuvoje!</a> <a class="c-jobs--anchor" href="https://www.workis.online/employees?utm_source=biuro.lt&utm_medium=banner&utm_campaign=Homepage%20jobs%20pin" target="_blank" rel="noopener"><?php _e('Additional works in Lithuania!', 'biuro'); ?></a>
</td> </td>
<td class="c-jobs--col c-jobs--col-city"> <td class="c-jobs--col c-jobs--col-city">
&nbsp; &nbsp;
......
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