Skip to content

Commit

Permalink
Modified Main store, genre and artist views so that album images now …
Browse files Browse the repository at this point in the history
…hyperlink to the album page.
  • Loading branch information
mbullock976 committed Jan 10, 2017
1 parent fca9824 commit 969f11e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 4 additions & 2 deletions Go2MusicStore/Go2MusicStore/templates/storeArtistView.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ <h5>{{artist.description}}</h5>
<li data-ng-repeat="i in artist.albums | orderBy: selectedSortOrder" >
<table>
<tr>
<th>
<img alt="/Content/Images/placeholder.gif" src={{i.albumArtUrl}} />
<th>
<a ui-sref="album({albumId: i.albumId})">
<img alt="/Content/Images/placeholder.gif" src={{i.albumArtUrl}} />
</a>
</th>
</tr>
<tr>
Expand Down
6 changes: 4 additions & 2 deletions Go2MusicStore/Go2MusicStore/templates/storeGenreView.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ <h5>{{selectedGenre.description}}</h5>
<li data-ng-repeat="i in albumService.genreAlbumsList | orderBy: selectedSortOrder">
<table>
<tr>
<th>
<img alt="/Content/Images/placeholder.gif" src={{i.albumArtUrl}} />
<th>
<a ui-sref="album({albumId: i.albumId})">
<img alt="/Content/Images/placeholder.gif" src={{i.albumArtUrl}} />
</a>
</th>
</tr>
<tr>
Expand Down
4 changes: 3 additions & 1 deletion Go2MusicStore/Go2MusicStore/templates/storeView.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ <h5 style="color: #9B9993; font-family: Constantia, Georgia, serif;">Latest Albu
<table>
<tr>
<th>
<img alt="/Content/Images/placeholder.gif" src={{i.albumArtUrl}} />
<a ui-sref="album({albumId: i.albumId})">
<img alt="/Content/Images/placeholder.gif" src={{i.albumArtUrl}} />
</a>
</th>
</tr>
<tr>
Expand Down

0 comments on commit 969f11e

Please sign in to comment.