mirror of https://github.com/zulip/zulip.git
popovers: Improve label for choosing colors.
This commit is contained in:
parent
7585776c76
commit
26083e4b10
|
@ -413,8 +413,8 @@ exports.register_stream_handlers = function () {
|
|||
e.stopPropagation();
|
||||
});
|
||||
|
||||
// Choose custom color
|
||||
$('body').on('click', '.custom_color', function (e) {
|
||||
// Choose a different color.
|
||||
$('body').on('click', '.choose_stream_color', function (e) {
|
||||
update_spectrum($(e.target).closest('.streams_popover'), function (colorpicker) {
|
||||
$('.colorpicker-container').show();
|
||||
colorpicker.spectrum("destroy");
|
||||
|
|
|
@ -54,9 +54,9 @@
|
|||
</li>
|
||||
<li>
|
||||
<span class="colorpicker-container"><input stream_id="{{stream.stream_id}}" class="colorpicker" type="text" value="{{stream.color}}" /></span>
|
||||
<a class="custom_color">
|
||||
<a class="choose_stream_color">
|
||||
<i class="fa fa-eyedropper" aria-hidden="true"></i>
|
||||
{{t "Choose custom color" }}
|
||||
{{t "Change color" }}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ stream. Changing a stream's color does not change it for anyone else.
|
|||
|
||||
{!stream-actions.md!}
|
||||
|
||||
1. Pick a color from the grid, or select **Choose custom color**.
|
||||
1. Pick a color from the grid, or select **Change color**.
|
||||
|
||||
{end_tabs}
|
||||
|
||||
|
|
Loading…
Reference in New Issue