Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dev.biuro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Biuro
dev.biuro
Commits
c2e69507
Commit
c2e69507
authored
Oct 29, 2020
by
Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release 1.21.3
parent
78e69a98
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
6 deletions
+24
-6
README.md
README.md
+2
-2
single-job.php
wp-content/themes/biuro/single-job.php
+5
-1
style.css
wp-content/themes/biuro/style.css
+1
-1
jobs-list-homepage.php
...t/themes/biuro/template-parts/jobs/jobs-list-homepage.php
+16
-2
No files found.
README.md
View file @
c2e69507
...
...
@@ -20,9 +20,9 @@
## Production
-
build CSS & JS assets -
`C:\web\dev.biuro\ npm run build`
-
build new image
`docker build -t biuro/web:1.21.
1
.`
(update version number)
-
build new image
`docker build -t biuro/web:1.21.
3
.`
(update version number)
-
login to biuro docker account
`docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
-
push image to docker repository -
`docker push biuro/web:1.21.
1
`
-
push image to docker repository -
`docker push biuro/web:1.21.
3
`
## Production
-
update biuro/web image version in .env file (staging or www)
...
...
wp-content/themes/biuro/single-job.php
View file @
c2e69507
...
...
@@ -253,8 +253,12 @@ get_header();
$videoURL
=
$pod
->
field
(
'video_url'
);
if
(
$videoURL
)
:
if
(
strpos
(
$videoURL
,
"&"
)
!==
false
)
:
$videoURL
=
substr
(
$videoURL
,
0
,
strpos
(
$videoURL
,
"&"
));
endif
;
?>
<iframe
type=
"text/html"
width=
"458"
height=
"258"
src=
"
<?php
echo
str_replace
([
'youtube.com/watch?v='
,
'youtube.com/watch/'
],
'youtube.com/embed/'
,
$videoURL
);
?>
"
frameborder=
"0"
></iframe>
<iframe
type=
"text/html"
width=
"458"
height=
"258"
src=
"
<?php
echo
str_replace
([
'youtube.com/watch?v='
,
'youtube.com/watch/'
,
'youtu.be/'
,
'youtube.com/embed/'
],
'youtube.com/embed/'
,
$videoURL
);
?>
"
frameborder=
"0"
></iframe>
<?php
endif
;
...
...
wp-content/themes/biuro/style.css
View file @
c2e69507
...
...
@@ -3,6 +3,6 @@ Theme Name: Biuro
Author: Biuro
Author URI: https://www.biuro.lt/
Description: Biuro multiregion theme
Version: 1.21.
1
Version: 1.21.
3
Text Domain: biuro
*/
wp-content/themes/biuro/template-parts/jobs/jobs-list-homepage.php
View file @
c2e69507
...
...
@@ -33,18 +33,32 @@ function showPosted($published, $valid) {
endif
;
}
$ads
=
[];
$blogID
=
get_current_blog_id
();
$sourceURL
=
'biuro.lt'
;
$label
=
__
(
'Additional works in Lithuania!'
,
'biuro'
);
if
(
$blogID
==
2
)
:
$sourceURL
=
'biuro.lv'
;
$label
=
__
(
'Additional works in Latvia!'
,
'biuro'
);
elseif
(
$blogID
==
3
)
:
$sourceURL
=
'biuro.ee'
;
$label
=
__
(
'Additional works in Estonia!'
,
'biuro'
);
endif
;
$workisURL
=
"https://www.workis.online/employees?utm_source=
$sourceURL
&utm_medium=banner&utm_campaign=Homepage%20jobs%20pin"
;
?>
<table
class=
"c-jobs--table"
>
<tr
class=
"c-jobs--row-workis"
>
<td
class=
"c-jobs--col c-jobs--col-position"
>
<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>
<a
class=
"c-jobs--anchor"
href=
"
<?php
echo
$workisURL
;
?>
"
target=
"_blank"
rel=
"noopener"
>
<?php
echo
$label
;
?>
</a>
</td>
<td
class=
"c-jobs--col c-jobs--col-city"
>
</td>
<td
class=
"c-jobs--col c-jobs--col-valid"
>
<a
href=
"
https://www.workis.online/employees
"
target=
"_blank"
rel=
"noopener"
>
<a
href=
"
<?php
echo
$workisURL
;
?>
"
target=
"_blank"
rel=
"noopener"
>
<picture
class=
"c-jobs--workis-picture"
>
<source
srcset=
"/wp-content/themes/biuro/i/workis.webp"
type=
"image/webp"
>
<img
src=
"/wp-content/themes/biuro/i/workis.png"
width=
"71"
height=
"21"
alt=
"Workis"
loading=
"lazy"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment