Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
minor change to feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Huang committed Oct 14, 2016
1 parent 47a2d51 commit 2beb2b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Expand Up @@ -359,6 +359,8 @@ public void triggerManualWebhookEvent() {
if (selectedLocale != null && !manualWebhooks.isEmpty()) {
webhookService.processManualEvent(projectSlug, versionSlug,
selectedLocale.getLocaleId(), manualWebhooks);
conversationScopeMessages.setMessage(FacesMessage.SEVERITY_INFO,
msgs.format("jsf.iteration.manualWebhook.triggered", getManualWebhookNames()));
}
}

Expand Down
1 change: 1 addition & 0 deletions zanata-war/src/main/resources/messages.properties
Expand Up @@ -652,6 +652,7 @@ jsf.iteration.ExportTMX.Language=Export {0} Documents to TMX
jsf.iteration.files.NoFiles=No Files Available

jsf.iteration.triggerWebHook=Trigger manual webhook for {0}
jsf.iteration.manualWebhook.triggered=Webhook request(s) for {0} are sent.

! local directory path where a document is located within the project
jsf.iteration.files.Path=Path
Expand Down
Expand Up @@ -94,7 +94,7 @@
<ul class="list--slat list--highlight l--push-top-half">
<ui:repeat value="#{projectHome.instance.webHooks}" var="webhook">
<li class="list-item l--pad-h-quarter">
<span name="url"><span class="label">#{webhook.name}</span>#{webhook.url}</span>
<span name="url">#{webhook.url}<h:panelGroup styleClass="label" rendered="#{not empty webhook.name}">#{webhook.name}</h:panelGroup></span>
<span class="txt--meta l--push-left-quarter" name="type">#{webhookServiceImpl.getDisplayNames(webhook.types)}</span>
<button class="button button--small l--float-right" name="editBtn" onclick="jQuery('##{webhook.id}').toggle(50)">
#{msgs['jsf.Edit']}
Expand Down

0 comments on commit 2beb2b8

Please sign in to comment.