Skip to content

Commit

Permalink
Rename social-profiles to elsewhere-profiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
chmac committed Aug 10, 2024
1 parent d53eddc commit 6c90a77
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion modules/users/client/components/ProfileViewBasics.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default function ProfileViewBasics({ profile }) {
{t('Elsewhere')}
</h4>
<ul
className="social-profiles list-unstyled"
className="elsewhere-profiles list-unstyled"
aria-describedby="profile-networks"
>
{profile.nostrNpub && (
Expand Down
2 changes: 1 addition & 1 deletion modules/users/client/less/profile-view.less
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
}

// List of social accounts
.social-profiles {
.elsewhere-profiles {
margin-top: 5px;
margin-bottom: 10px;
.social-profile-icon {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
!profileEditNetworks.isConnectedSocialAccount('github')"
>
<h4>Connect to</h4>
<ul class="list-unstyled social-profiles">
<ul class="list-unstyled elsewhere-profiles">
<li
class="social-profile social-profile-connect"
ng-repeat="providerName in ['facebook', 'twitter', 'github'] track by providerName"
Expand All @@ -34,7 +34,7 @@ <h4>Connect to</h4>

<div ng-if="profileEditNetworks.hasConnectedAdditionalSocialAccounts()">
<h4>Connected to networks</h4>
<ul class="list-unstyled social-profiles">
<ul class="list-unstyled elsewhere-profiles">
<li
class="social-profile social-profile-connect"
ng-repeat="(providerName, providerData) in profileEditNetworks.user.additionalProvidersData track by providerName"
Expand Down Expand Up @@ -332,7 +332,7 @@ <h4>nostr</h4>
placeholder="npub"
aria-label="nostr npub"
/>
<!--
<!--
<span
class="input-group-btn"
ng-if="profileEditNetworks.user.nostrNpub.length"
Expand All @@ -350,10 +350,8 @@ <h4>nostr</h4>
-->
</div>
</div>

</div>


<p>
<button
type="submit"
Expand Down

0 comments on commit 6c90a77

Please sign in to comment.