mirror of
https://github.com/apache/rocketmq-dashboard.git
synced 2026-02-18 18:39:14 +08:00
[ISSUE#770] Send message with message trace (#771)
This commit is contained in:
@@ -84,5 +84,6 @@ var en = {
|
||||
"PASSWORD":"Password",
|
||||
"NO_DATA":"Don't have ",
|
||||
"SYSTEM":"SYSTEM",
|
||||
"WELCOME":"Hi, welcome using RocketMQ Console"
|
||||
"WELCOME":"Hi, welcome using RocketMQ Console",
|
||||
"ENABLE_MESSAGE_TRACE":"Enable Message Trace"
|
||||
}
|
||||
@@ -85,5 +85,6 @@ var zh = {
|
||||
"PASSWORD":"密码",
|
||||
"NO_DATA":"不存在 ",
|
||||
"SYSTEM":"系统",
|
||||
"WELCOME":"您好,欢迎使用RocketMQ控制台"
|
||||
"WELCOME":"您好,欢迎使用RocketMQ控制台",
|
||||
"ENABLE_MESSAGE_TRACE":"开启消息轨迹"
|
||||
}
|
||||
@@ -439,8 +439,9 @@ module.controller('sendTopicMessageDialogController', ['$scope', 'ngDialog', '$h
|
||||
$scope.sendTopicMessage = {
|
||||
topic: $scope.ngDialogData.topic,
|
||||
key: "key",
|
||||
tag:"tag",
|
||||
messageBody:"messageBody"
|
||||
tag: "tag",
|
||||
messageBody: "messageBody",
|
||||
traceEnabled: false
|
||||
};
|
||||
$scope.send = function () {
|
||||
$http({
|
||||
|
||||
@@ -527,7 +527,13 @@
|
||||
ng-disabled></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-2">{{'ENABLE_MESSAGE_TRACE'|translate}}:</label>
|
||||
<div class="col-sm-10">
|
||||
<md-switch class="md-primary" md-no-ink ng-model="sendTopicMessage.traceEnabled">
|
||||
</md-switch>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
||||
Reference in New Issue
Block a user