Skip to content

Commit 7398d69

Browse files
authored
fix(front): Git Profiles page format (#172)
1 parent 4ebc086 commit 7398d69

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

front/lib/front_web/templates/account/show.html.eex

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
<%= link "Grant private access…", to: account_path(@conn, :update_repo_scope, "github", [access_level: :private]), method: :post %>
3434
</div>
3535
<% else %>
36-
<%= link "Connect…", to: account_path(@conn, :update_repo_scope, "github", [access_level: :email]), method: :post %>
36+
<div>
37+
<%= link "Connect…", to: account_path(@conn, :update_repo_scope, "github", [access_level: :email]), method: :post %>
38+
</div>
3739
<% end %>
3840
<% {:NONE, _} -> %>
3941
<span class="red">Not Connected</span>
@@ -75,7 +77,7 @@
7577
<% end %>
7678
</div>
7779
<%= if not Application.get_env(:front, :hide_bitbucket_me_page) do %>
78-
<div class="pa2">
80+
<div class="pa2 bt b--lighter-gray">
7981
<span class="b">Bitbucket</span> ·
8082
<%= case {@user.bitbucket_scope, @user.bitbucket_login} do %>
8183
<% {:NONE, nil} -> %>

front/lib/front_web/templates/people/show.html.eex

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@
5757
<%= link "Grant private access…", to: people_path(@conn, :update_repo_scope, @user.id, "github", [access_level: :private]), method: :post %>
5858
</div>
5959
<% else %>
60-
<%= link "Connect…", to: people_path(@conn, :update_repo_scope, @user.id, "github", [access_level: :email]), method: :post %>
60+
<div>
61+
<%= link "Connect…", to: people_path(@conn, :update_repo_scope, @user.id, "github", [access_level: :email]), method: :post %>
62+
</div>
6163
<% end %>
6264
<% end %>
6365
<% {:NONE, _} -> %>
@@ -106,7 +108,7 @@
106108
<% end %>
107109
</div>
108110
<%= if FeatureProvider.feature_enabled?(:bitbucket, param: @conn.assigns[:organization_id]) do %>
109-
<div class="pa2">
111+
<div class="pa2 bt b--lighter-gray">
110112
<span class="b">Bitbucket</span> ·
111113
<%= case {@user.bitbucket_scope, @user.bitbucket_login} do %>
112114
<% {:NONE, nil} -> %>

0 commit comments

Comments
 (0)