Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Dependency List
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
802
Issues
802
List
Boards
Labels
Service Desk
Milestones
Merge Requests
60
Merge Requests
60
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
8efaa72b
Commit
8efaa72b
authored
15 minutes ago
by
Emiliano Balbuena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat): Display #all when no targeting; list payments
parent
bce6e2e8
goal/boost-campaigns-e24
1 merge request
!387
WIP: Boost Campaigns (&24)
Pipeline
#69988030
running with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
1 deletion
+52
-1
view.component.html
src/app/modules/boost/campaigns/view/view.component.html
+27
-1
view.component.scss
src/app/modules/boost/campaigns/view/view.component.scss
+25
-0
No files found.
src/app/modules/boost/campaigns/view/view.component.html
View file @
8efaa72b
...
...
@@ -74,6 +74,13 @@
*
ngFor=
"let hashtag of campaign.hashtags"
class=
"m-form--tag-badge"
>
#{{hashtag}}
</span>
<span
*
ngIf=
"campaign.hashtags && !campaign.hashtags.length"
class=
"m-form--tag-badge"
>
#all
</span>
</div>
</div>
...
...
@@ -109,7 +116,7 @@
</div>
<div
class=
"m-form--read-only-value"
>
<span>
{{campaign.budget | number}} TOKENS
</span>
<span
i18n
>
{{campaign.budget | number}} TOKENS
</span>
</div>
</div>
...
...
@@ -135,6 +142,25 @@
</div>
</div>
<div
class=
"m-form--field"
*
ngIf=
"campaign.payments && campaign.payments.length"
>
<div
class=
"m-form--field-label"
>
<span
i18n
>
Payment
</span>
<m-tooltip
icon=
"help"
i18n
>
TBD
</m-tooltip>
</div>
<ng-container
*
ngFor=
"let payment of campaign.payments"
>
<div
class=
"m-form--read-only-value m-boost-campaigns-view--payment-row"
>
<div
class=
"m-boost-campaigns-view--payment-row-amount"
>
{{payment.amount | number}}
<span
i18n
>
TOKEN(S)
</span>
</div>
<div
class=
"m-boost-campaigns-view--payment-row-tx"
>
{{payment.tx}}
</div>
</div>
</ng-container>
</div>
<div
class=
"m-form--field"
>
<a
[
routerLink
]="['/
boost
/
campaigns
/
edit
',
campaign
.
urn
]"
class=
"m-btn m-btn--slim m-btn--action"
*
ngIf=
"isEditable"
>
Edit
</a>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/boost/campaigns/view/view.component.scss
View file @
8efaa72b
.m-form
.m-form--field
.m-form--read-only-value.m-boost-campaigns-view--payment-row
{
display
:
block
;
margin-bottom
:
16px
;
&
:last-child
{
margin-bottom
:
0
;
}
.m-boost-campaigns-view--payment-row-amount
{
margin-bottom
:
4px
;
span
{
font-weight
:
300
;
}
}
.m-boost-campaigns-view--payment-row-tx
{
font-size
:
12px
;
font-weight
:
300
;
@include
m-theme
()
{
color
:
themed
(
$m-grey-400
);
}
}
}
This diff is collapsed.
Click to expand it.
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