Skip to content

Commit

Permalink
Fix notification message (Standardize with orchestrator)
Browse files Browse the repository at this point in the history
  • Loading branch information
sukrit007 committed Apr 20, 2016
1 parent 3ee77cc commit 8ff4285
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions deployer/templates/hipchat.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{%- set git = ctx.deployment['meta-info'].git or {} %}
{%- set deployment = ctx.deployment.deployment or {} %}
<b>Totem ({{ctx.cluster}} :: Deployer :: {{ctx.operation}})</b> :
<b>Deployer ({{ctx.env}}-{{ctx.operation}}) : </b>
{% if git.owner %}
{% if git.type == 'github' %}
<a href="https://github.com/{{git.owner}}">{{ git.owner }}</a>
{% else %}
{{ git.owner }}
{% endif %}
:
/
{% endif %}

{% if git.repo %}
Expand All @@ -16,7 +16,7 @@
{% else %}
{{ git.repo }}
{% endif %}
:
/
{% endif %}

{% if git.ref %}
Expand All @@ -25,7 +25,7 @@
{% else %}
{{ git.ref }}
{% endif %}
:
/
{% endif %}

{% if git.commit %}
Expand All @@ -34,13 +34,13 @@
{% else %}
{{ git.commit }}
{% endif %}
:
{% endif %}
:

{% if notification.code %}
(<b>{{ notification.code }}</b>)
{% endif %}

{% if notification.message %}
{{ notification.message }}
{{ notification.message | truncate(1000) }}
{% endif %}

0 comments on commit 8ff4285

Please sign in to comment.