Skip to content

Commit

Permalink
Indicate the language and script of periods' originalLabel values
Browse files Browse the repository at this point in the history
  • Loading branch information
ptgolden committed Jul 9, 2015
1 parent e5d8d51 commit 4ca7772
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/shared/period.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ module.exports = React.createClass({
<dl className="dl-horizontal period-details">
<div className="field">
<dt>Original label</dt>
<dd>{this.props.period.get('label')}</dd>
<dd>
{
this.props.period.get('originalLabel')
.map((val, script) => `${val} (${script})`)
.first()
}
</dd>
</div>

{
Expand Down

0 comments on commit 4ca7772

Please sign in to comment.