Skip to content

Commit

Permalink
Contacts: cleanup OrgCard.
Browse files Browse the repository at this point in the history
 * Removes superfluous template value, which is not used and was left
   over when turned into a single file component.
  • Loading branch information
bernhardreiter committed Feb 14, 2017
1 parent 32666bb commit 438ec57
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions src/components/dash/OrgCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,37 +37,6 @@
module.exports = {
name: 'org-card',
props: ['status', 'org'],
template: ` <div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">
<i class="fa fa-address-book-o rme"></i>
{{ org.name }}
<span class="badge primary">{{ status }}</span>
</h3>
</div>
<div class="panel-body">
<ul class="list-group">
<li v-for="contact of org.contacts" class="list-group-item">
<i class="fa fa-envelope-o rme"></i>
{{ contact.email }}
<em v-if="contact.comment !== ''">
({{ contact.comment }})
</em>
</li>
</ul>
<ul class="list-group">
<li v-for="asn of org.asns" class="list-group-item">
<i class="fa fa-hdd-o rme"></i>
ASN{{ asn.number }}
</li>
</ul>
<div class="well">
<div v-for="(value, key) in otherAttributes">
<strong>{{ key }}</strong>: {{ value }}
</div>
</div>
</div>
</div>`,
data: function () {
return {
// for knownOrgKeys, the display is handled explicitely
Expand Down

0 comments on commit 438ec57

Please sign in to comment.