Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
addcpm-json
Project
Project
Details
Activity
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Александр Чаплыгин
addcpm-json
Commits
5fa9287a
Commit
5fa9287a
authored
Apr 16, 2020
by
Александр Чаплыгин
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Вывод инфо о кампании в архиве
parent
cd48936b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
campaign_item.phtml
src/templates/app/user/amsystem/campaign_item.phtml
+2
-4
No files found.
src/templates/app/user/amsystem/campaign_item.phtml
View file @
5fa9287a
...
...
@@ -157,10 +157,8 @@ if (!$error) {
<div
class=
"form-group active"
>
<input
type=
"checkbox"
id=
"campaign-active"
name=
"campaign-active"
<?php
if
(
$campaign_active
)
:
?>
checked
<?php
endif
;
?>
<?php
if
(
$campaign_archive
)
:
?>
disabled
<?php
endif
;
?>
>
<label
class=
"title-field"
for=
"campaign-active"
>
Кампания активна
</label>
<?php
if
(
!
$campaign_date_end
||
$today
<=
$campaign_date_end
)
:
?>
<a
class=
"btn btn-danger action-archive send
<?php
if
(
$campaign_archive
)
:
?>
hidden
<?php
endif
;
?>
"
href=
"
<?=
$form_link
?>
"
>
<?=
_t
(
'Отправить в архив'
)
?>
</a>
<a
class=
"btn btn-primary action-archive remove
<?php
if
(
!
$campaign_archive
)
:
?>
hidden
<?php
endif
;
?>
"
href=
"
<?=
$form_link
?>
"
>
<?=
_t
(
'Извлечь из архива'
)
?>
</a>
<?php
if
(
$campaign_archive
)
:
?>
<i
style=
"color: #D33E3D"
>
(кампания в архиве)
</i>
<?php
endif
;
?>
</div>
...
...
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