Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions root/account/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,12 @@ <h4 class="alert-heading">Error</h4>
</div>
</div>
<div id="profiles" class="profiles">
<div class="form-group profile profile-metacpan" title="You can use your user id with other services so they can retrieve information from your profile or your favorites here on metacpan.">
<label class="col-sm-4 col-md-4 control-label">metacpan</label>
<div class="col-sm-8 col-md-6">
<input type="text" class="form-control" value="<% author.user %>" disabled="disabled" />
</div>
</div>
<% FOREACH profile IN author.profile.sort('name'); known = profiles.${profile.name} -%>
<div class="form-group <% IF known %>profile profile-<% profile.name %><% END %>">
<label class="col-sm-4 col-md-4 control-label">
Expand Down
Binary file added root/static/images/profile/metacpan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions root/static/less/account.less
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@
&.profile-magnolia .control-label {
background-image: url(/static/images/profile/magnolia.png);
}
&.profile-metacpan .control-label {
background-image: url(/static/images/profile/metacpan.png);
}
&.profile-meetup .control-label {
background-image: url(/static/images/profile/meetup.png);
}
Expand Down