Disable with on publisher form
This commit is contained in:
parent
c0d10ef174
commit
c7b8c185bd
2 changed files with 3 additions and 2 deletions
|
|
@ -32,9 +32,9 @@
|
||||||
|
|
||||||
.options_and_submit
|
.options_and_submit
|
||||||
- if aspect == :all
|
- if aspect == :all
|
||||||
= status.submit t('.share'), :title => t('.share_with_all')
|
= status.submit t('.share'), :title => t('.share_with_all'), :disable_with => t('.posting')
|
||||||
- else
|
- else
|
||||||
= status.submit t('.share'), :title => t('.share_with', :aspect => aspect)
|
= status.submit t('.share'), :title => t('.share_with', :aspect => aspect), :disable_with => t('.posting')
|
||||||
|
|
||||||
- if aspect == :all
|
- if aspect == :all
|
||||||
.public_toggle
|
.public_toggle
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,7 @@ en:
|
||||||
everyone: "Everyone"
|
everyone: "Everyone"
|
||||||
add_a_new_aspect: "add a new aspect"
|
add_a_new_aspect: "add a new aspect"
|
||||||
publisher:
|
publisher:
|
||||||
|
posting: "Posting..."
|
||||||
share: "Share"
|
share: "Share"
|
||||||
post_a_message_to: "Post a message to %{aspect}"
|
post_a_message_to: "Post a message to %{aspect}"
|
||||||
make_public: "make public"
|
make_public: "make public"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue