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
799
Issues
799
List
Boards
Labels
Service Desk
Milestones
Merge Requests
59
Merge Requests
59
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
Compare Revisions
b9043122ddee9859c7dab0408be23b95c1c644d1...ad554ffc454f986347d97ed76d0a256726443872
Source
ad554ffc454f986347d97ed76d0a256726443872
Select Git revision
...
Target
b9043122ddee9859c7dab0408be23b95c1c644d1
Select Git revision
Compare
Commits (2)
(chore): implement onchain badge
· bcfb9d6b
Mark Harding
authored
1 hour ago
bcfb9d6b
(feat): specify onchain booster badge in booster prompt
· ad554ffc
Mark Harding
authored
1 hour ago
ad554ffc
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
7 deletions
+28
-7
badges.component.html
src/app/common/components/badges/badges.component.html
+7
-0
badges.component.scss
src/app/common/components/badges/badges.component.scss
+3
-3
badges.component.ts
src/app/common/components/badges/badges.component.ts
+7
-1
creator.component.scss
src/app/modules/boost/creator/creator.component.scss
+1
-1
payment-methods.component.html
...st/creator/payment-methods/payment-methods.component.html
+2
-2
channel.component.scss
src/app/modules/channels/channel.component.scss
+8
-0
No files found.
src/app/common/components/badges/badges.component.html
View file @
ad554ffc
...
...
@@ -28,4 +28,11 @@
Founder
</m-tooltip>
</li>
<li
*
ngIf=
"showOnchainBadge()"
routerLink=
"/tokens"
>
<m-tooltip
icon=
"link"
[
iconClass
]="{'
selected
'
:
true
}"
i18n=
"Boosted OnChain in the last 7 days"
>
Boosted OnChain in the last 7 days
</m-tooltip>
</li>
</ul>
This diff is collapsed.
Click to expand it.
src/app/common/components/badges/badges.component.scss
View file @
ad554ffc
...
...
@@ -8,7 +8,7 @@
li
{
display
:
flex
;
flex
:
1
;
//
flex: 1;
flex-direction
:
column
;
align-items
:
center
;
//padding: 16px;
...
...
@@ -16,8 +16,8 @@
}
i
{
font-size
:
28
px
;
padding
:
8
px
;
font-size
:
24
px
;
padding
:
0
4
px
;
&
.admin__badge
{
@include
m-theme
(){
...
...
This diff is collapsed.
Click to expand it.
src/app/common/components/badges/badges.component.ts
View file @
ad554ffc
...
...
@@ -22,7 +22,7 @@ export interface SocialProfileMeta {
export
class
ChannelBadgesComponent
{
@
Input
()
user
;
@
Input
()
badges
:
Array
<
string
>
=
[
'
verified
'
,
'
plus
'
,
'
founder
'
,
'
admin
'
];
@
Input
()
badges
:
Array
<
string
>
=
[
'
verified
'
,
'
plus
'
,
'
founder
'
,
'
admin
'
,
'
onchain_booster
'
];
constructor
(
public
session
:
Session
,
private
client
:
Client
,
private
router
:
Router
)
{
}
...
...
@@ -84,4 +84,10 @@ export class ChannelBadgesComponent {
});
}
showOnchainBadge
()
{
return
this
.
user
.
onchain_booster
&&
this
.
user
.
onchain_booster
*
1000
>
Date
.
now
()
&&
this
.
badges
.
indexOf
(
'
onchain_booster
'
)
>
-
1
;
}
}
This diff is collapsed.
Click to expand it.
src/app/modules/boost/creator/creator.component.scss
View file @
ad554ffc
...
...
@@ -384,7 +384,7 @@
.m-boost--creator-section-submit--network
{
@media
screen
and
(
min-width
:
780px
)
{
margin-top
:
-
56px
;
//-72px once onchain badges ready
margin-top
:
-
72px
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/boost/creator/payment-methods/payment-methods.component.html
View file @
ad554ffc
...
...
@@ -40,7 +40,7 @@
<li>
Max 10k per boost
</li>
<li>
Stored on the blockchain
</li>
<li>
Stand out in the feeds
</li>
<li
*
ngIf=
"false"
>
Gain "OnChain" badge
</li>
<li>
Gain "OnChain" badge
</li>
</ul>
<span
class=
"m-boost--creator-selector--selected-label"
i18n=
"@@M__COMMON__SELECTED"
>
Selected
</span>
...
...
@@ -81,7 +81,7 @@
<li>
Max 5k per boost
</li>
<li>
Stored on Minds servers
</li>
<li>
No transaction fee
</li>
<li
*
ngIf=
"false"
style=
"list-style:none"
>
</li>
<li
style=
"list-style:none"
>
</li>
</ul>
<span
class=
"m-boost--creator-selector--selected-label"
i18n=
"@@M__COMMON__SELECTED"
>
Selected
</span>
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/channels/channel.component.scss
View file @
ad554ffc
...
...
@@ -172,6 +172,14 @@ m-channel{
margin-right
:
8px
;
}
>
*
:last-child
{
margin-right
:
0
;
}
.m-channel--badges
{
min-width
:
124px
;
}
.m-channel--edit-button-wrapper
{
flex-shrink
:
0
;
}
...
...
This diff is collapsed.
Click to expand it.