---
# System prepended metadata

title: '<center>26^th^ July, 2019</center>'
tags: [Daily Internship Documentation]

---

# <center>26^th^ July, 2019</center>

###### tags: `Daily Internship Documentation`
---
## 18^th^ Day of Internship

## Summary

Today I write down some documentation of my last progress & tidy up the bubble text display.

URL:
* [**NTUST_SmartDispenser Github ver 2019.07.26**](https://github.com/ianjoseph2204/NTUST_SmartDispenser/tree/c31dee049018d4c4955e5ae85860262e1961c8ce)

---
## Documentation

### 1. Detailed Information Page
#### 1.1 detailed-information.page.ts

1. Modify the *setLocationText()* method.
```typescript=432
  setLocationText(){
    this.bubble_text_location = "Hi! I am Jellyfish and lives in the ";
    this.dispenser_building_location = this.dispenser_detail['Building'];
    this.dispenser_floor_location = "," + "\n" + this.dispenser_detail['Position'] + "!";
  }
```

#### 1.2 detailed-information.page.html

1. Bold the building location of the dispenser.
```htmlmixed=28
      <div class="speech-bubble">
        <div class="speech-bubble-text">
          <p>{{bubble_text_location}}
            <b>{{dispenser_building_location}}</b>{{dispenser_floor_location | lowercase}}
          </p>
        </div>
      </div>
```

---
## Result

<font color=red>Final result of dispenser MA_04_01</font>:
![](https://i.imgur.com/LAkfyay.gif)

<font color=red>Final result of dispenser MA_02_01</font>:
![](https://i.imgur.com/qwLPuTh.gif)
