Skip to content

Commit 3236745

Browse files
committed
chore: making buttons text uniform
1 parent 82b6022 commit 3236745

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

lib/lightning_web/live/auth_providers/form_component.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ defmodule LightningWeb.AuthProvidersLive.FormComponent do
184184
<div class="flex">
185185
<div class="flex-none">
186186
<.submit_button
187-
phx-disable-with="Saving"
187+
phx-disable-with="Saving..."
188188
disabled={!@changeset.valid?}
189189
>
190190
Save

lib/lightning_web/live/first_setup_live/superuser.html.heex

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
</div>
8888

8989
<div class="mt-2">
90-
<.submit_button phx-disable-with="Saving" disabled={!@changeset.valid?}>
90+
<.submit_button phx-disable-with="Saving..." disabled={!@changeset.valid?}>
9191
Save
9292
</.submit_button>
9393
</div>

lib/lightning_web/live/project_live/form_component.html.heex

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
</.link>
123123
</span>
124124
<div class="inline-block">
125-
<.submit_button phx-disable-with="Saving" disabled={!@changeset.valid?}>
125+
<.submit_button phx-disable-with="Saving..." disabled={!@changeset.valid?}>
126126
Save
127127
</.submit_button>
128128
</div>

lib/lightning_web/live/project_live/github_sync_component.html.heex

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
"Contact an editor or admin to sync."
187187
}
188188
phx-click="initiate-sync"
189-
phx-disable-with="Syncing.."
189+
phx-disable-with="Syncing..."
190190
phx-target={@myself}
191191
class="bg-primary-600 hover:bg-primary-700 inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm font-medium rounded-md text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500"
192192
>

lib/lightning_web/live/project_live/settings.html.heex

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
!(@project_changeset.valid? and can_edit_project(assigns) and
117117
can_edit_project(assigns))
118118
}
119-
phx-disable-with="Saving"
119+
phx-disable-with="Saving..."
120120
>
121121
Save
122122
</Form.submit_button>
@@ -994,7 +994,7 @@
994994
not @project_changeset.valid? or
995995
not @can_edit_data_retention
996996
}
997-
phx-disable-with="Saving"
997+
phx-disable-with="Saving..."
998998
>
999999
Save
10001000
</Form.submit_button>

0 commit comments

Comments
 (0)