Skip to content

Commit

Permalink
Merge pull request #11695 from LianaHarris360/new-content-imports
Browse files Browse the repository at this point in the history
Update condition to display new label for content imports
  • Loading branch information
rtibbles authored Jan 11, 2024
2 parents 8ad89be + ba12a50 commit 878d246
Showing 1 changed file with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/>
<NewBadge
v-if="showNewLabel"
:label="deviceString('newChannelLabel')"
:label="$tr('updatedResourcesLabel')"
class="new-label"
/>
</div>
Expand Down Expand Up @@ -100,6 +100,10 @@
message: 'Manage',
context: "Operation that can be performed on a channel. Refers to the 'Manage' button.",
},
updatedResourcesLabel: {
message: 'Resources recently updated',
context: 'Label for channels that contain recently updated resources.',
},
},
};
Expand Down Expand Up @@ -162,12 +166,13 @@
}
.new-label {
position: absolute;
top: 2px;
margin-left: 8px;
position: relative;
top: 5px;
display: inline-block;
.panel-sm & {
top: -2px;
top: 2px;
margin-left: 0;
}
}
Expand Down

0 comments on commit 878d246

Please sign in to comment.