Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UNL_Lockup_Factory
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Experience Group
UNL_Lockup_Factory
Commits
afa9fc6a
There was a problem fetching the pipeline summary.
Commit
afa9fc6a
authored
8 years ago
by
Tyler Lemburg
Browse files
Options
Downloads
Patches
Plain Diff
Stop adding blank pantone templates if nothing to convert
parent
a7da5efe
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Controllers/FilesController.php
+6
-3
6 additions, 3 deletions
src/Controllers/FilesController.php
with
6 additions
and
3 deletions
src/Controllers/FilesController.php
+
6
−
3
View file @
afa9fc6a
...
@@ -72,10 +72,13 @@ class FilesController extends Controller {
...
@@ -72,10 +72,13 @@ class FilesController extends Controller {
}
}
# add the javascript file and the templates
# add the javascript file and the templates
$zip
->
addFile
(
\Core
::
ROOT
.
'/src/LockupTemplates/vert_convert_pantone.jsx'
,
'vert_convert_pantone.jsx'
);
if
(
!
(
$lockup
->
style
==
'acronym_subject_2_1'
||
$lockup
->
style
==
'extension_4h'
||
$lockup
->
style
==
'acronym_social'
))
{
$zip
->
addFile
(
\Core
::
ROOT
.
'/src/LockupTemplates/horiz_convert_pantone.jsx'
,
'horiz_convert_pantone.jsx'
);
$zip
->
addFile
(
\Core
::
ROOT
.
'/src/LockupTemplates/horiz_convert_pantone.jsx'
,
'horiz_convert_pantone.jsx'
);
$zip
->
addFile
(
\Core
::
ROOT
.
'/src/LockupTemplates/Nh_template.ai'
,
"Nh_"
.
$lockup
->
getFolderName
()
.
"/PMS186cp/Nh_"
.
$lockup
->
getFolderName
()
.
"_pms186cp_rev.ai"
);
$zip
->
addFile
(
\Core
::
ROOT
.
'/src/LockupTemplates/Nh_template.ai'
,
"Nh_"
.
$lockup
->
getFolderName
()
.
"/PMS186cp/Nh_"
.
$lockup
->
getFolderName
()
.
"_pms186cp_rev.ai"
);
$zip
->
addFile
(
\Core
::
ROOT
.
'/src/LockupTemplates/Nh_template.ai'
,
"Nh_"
.
$lockup
->
getFolderName
()
.
"/PMS186cp/Nh_"
.
$lockup
->
getFolderName
()
.
"_pms186cp.ai"
);
$zip
->
addFile
(
\Core
::
ROOT
.
'/src/LockupTemplates/Nh_template.ai'
,
"Nh_"
.
$lockup
->
getFolderName
()
.
"/PMS186cp/Nh_"
.
$lockup
->
getFolderName
()
.
"_pms186cp.ai"
);
}
$zip
->
addFile
(
\Core
::
ROOT
.
'/src/LockupTemplates/vert_convert_pantone.jsx'
,
'vert_convert_pantone.jsx'
);
$zip
->
addFile
(
\Core
::
ROOT
.
'/src/LockupTemplates/Nv_template.ai'
,
"Nv_"
.
$lockup
->
getFolderName
()
.
"/PMS186cp/Nv_"
.
$lockup
->
getFolderName
()
.
"_pms186cp_rev.ai"
);
$zip
->
addFile
(
\Core
::
ROOT
.
'/src/LockupTemplates/Nv_template.ai'
,
"Nv_"
.
$lockup
->
getFolderName
()
.
"/PMS186cp/Nv_"
.
$lockup
->
getFolderName
()
.
"_pms186cp_rev.ai"
);
$zip
->
addFile
(
\Core
::
ROOT
.
'/src/LockupTemplates/Nv_template.ai'
,
"Nv_"
.
$lockup
->
getFolderName
()
.
"/PMS186cp/Nv_"
.
$lockup
->
getFolderName
()
.
"_pms186cp.ai"
);
$zip
->
addFile
(
\Core
::
ROOT
.
'/src/LockupTemplates/Nv_template.ai'
,
"Nv_"
.
$lockup
->
getFolderName
()
.
"/PMS186cp/Nv_"
.
$lockup
->
getFolderName
()
.
"_pms186cp.ai"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment