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
47cd0ea4
Commit
47cd0ea4
authored
Jun 16, 2020
by
Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release 1.17.0
parent
75a2ea4b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
19 deletions
+6
-19
.env
.env
+0
-1
README.md
README.md
+2
-2
biuro-jobs.php
wp-content/plugins/biuro-jobs/biuro-jobs.php
+0
-1
functions.php
wp-content/themes/biuro/functions.php
+1
-3
single-job.php
wp-content/themes/biuro/single-job.php
+2
-6
style.css
wp-content/themes/biuro/style.css
+1
-1
menu-main.php
wp-content/themes/biuro/template-parts/menus/menu-main.php
+0
-5
No files found.
.env
View file @
47cd0ea4
...
...
@@ -2,7 +2,6 @@ PROJECT=dev-biuro
IMAGE_NGINX=fholzer/nginx-brotli
IMAGE_MYSQL=mariadb:10.3
# IMAGE_WORDPRESS=wordpress:php7.4-fpm
IMAGE_WORDPRESS=biuro/wordpress:0.0.0
IMAGE_WORDPRESS_CLI=wordpress:cli-php7.4
...
...
README.md
View file @
47cd0ea4
...
...
@@ -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.1
6
.0 .`
(update version number)
-
build new image
`docker build -t biuro/web:1.1
7
.0 .`
(update version number)
-
login to biuro docker account
`docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
-
push image to docker repository -
`docker push biuro/web:1.1
6
.0`
-
push image to docker repository -
`docker push biuro/web:1.1
7
.0`
## Production
-
update biuro/web image version in .env file (staging or www)
...
...
wp-content/plugins/biuro-jobs/biuro-jobs.php
View file @
47cd0ea4
...
...
@@ -186,7 +186,6 @@ class Biuro_Jobs extends WP_Widget {
if
(
function_exists
(
'logPositions'
))
:
// echo '<h1 style="border: 1px solid blue;">Lorem ipsum</h1>';
logPositions
(
$ads
);
endif
;
...
...
wp-content/themes/biuro/functions.php
View file @
47cd0ea4
...
...
@@ -1117,8 +1117,6 @@ function handlePositionsLogs() {
$pool
=
Pool
::
create
();
$start
=
microtime
(
true
);
$token
=
getOauthToken
();
foreach
(
$results
as
$r
)
:
...
...
@@ -1130,7 +1128,7 @@ function handlePositionsLogs() {
'country_id'
=>
$r
->
country_id
,
]);
$pool
[]
=
async
(
function
()
use
(
$apiURL
,
$token
,
$data
,
$
start
,
$
r
)
{
$pool
[]
=
async
(
function
()
use
(
$apiURL
,
$token
,
$data
,
$r
)
{
$ch
=
curl_init
();
curl_setopt_array
(
$ch
,
array
(
...
...
wp-content/themes/biuro/single-job.php
View file @
47cd0ea4
...
...
@@ -126,8 +126,8 @@ get_header();
if
(
$location
)
:
$division
=
pods
(
'division'
,
$location
[
'ID'
]);
//
$locationID = $location['ID'];
$locationID
=
'256546865'
;
$locationID
=
$location
[
'ID'
];
//
$locationID = '256546865';
$divisionCities
=
get_the_terms
(
$locationID
,
'city'
);
...
...
@@ -135,10 +135,6 @@ get_header();
$divisionCity
=
$divisionCities
[
0
];
endif
;
if
(
isset
(
$divisionCity
))
:
delog
(
'$divisionCity'
);
endif
;
$addressRegion
=
isset
(
$divisionCity
->
name
)
?
$divisionCity
->
name
:
''
;
$postalCode
=
$division
->
field
(
'postal-code'
,
true
);
$streetAddress
=
$division
->
field
(
'title'
,
true
);
...
...
wp-content/themes/biuro/style.css
View file @
47cd0ea4
...
...
@@ -3,6 +3,6 @@ Theme Name: Biuro
Author: Biuro
Author URI: https://www.biuro.lt/
Description: Biuro multiregion theme
Version: 1.1
6
.0
Version: 1.1
7
.0
Text Domain: biuro
*/
wp-content/themes/biuro/template-parts/menus/menu-main.php
View file @
47cd0ea4
<?php
// delog('', 'post');
// debug($post);
// delog($post->ID, 'post ID');
$menu_name
=
'main-menu'
;
$locations
=
get_nav_menu_locations
();
$menu
=
$locations
?
wp_get_nav_menu_object
(
$locations
[
$menu_name
]
)
:
null
;
...
...
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