Commit a893cf70 authored by 2breakegg's avatar 2breakegg

读取 开发,发行日期数据

parent fcb67fd4
......@@ -82,7 +82,11 @@
<div class="panel" id="game_info_2">
<dl>
<dt>开发</dt>
<dd><a href="https://github.com/Fluorohydride/ygopro">Fluorohydride</a></dd>
<dd *ngFor="let developer of currentApp.developers">
<a *ngIf="developer.url" target="_blank" href="{{developer.url}}">{{developer.name}}</a>
<span *ngIf="!developer.url" >{{developer.name}}</span>
</dd>
<dt>发行日期</dt>
<dd>{{currentApp.released_at | date:'mediumDate'}}</dd>
</dl>
......
......@@ -50,13 +50,13 @@ export class AppDetailComponent implements OnInit, OnChanges {
'recommend': '推荐',
'mysterious': '迷之物体',
'touhou': '东方 Project',
'touhou-pc98': '东方旧作',
'touhou_pc98': '东方旧作',
'language': '语言包'
} : {
'recommend': 'Recommended',
'mysterious': 'Something',
'touhou': 'Touhou Project',
'touhou-pc98': 'Touhou old series',
'touhou_pc98': 'Touhou old series',
'language': 'Language Pack'
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment