#176 fixed in GanjooRazor

This commit is contained in:
Hamid Reza Mohammadi 2021-07-09 12:01:12 +04:30
parent 9ac68d77c9
commit 589560aeef
3 changed files with 5 additions and 5 deletions

View File

@ -25,12 +25,12 @@
</tr>
<tr>
<td>
<img src="https://ganjgah.ir/api/images/thumb/@(Model.MainImage.EntityImageId).jpg" />
<img src="@GanjooRazor.APIRoot.Url/api/images/thumb/@(Model.MainImage.EntityImageId).jpg" />
</td>
<td>
@if (Model.PreviouslyLinkedImage != null)
{
<img src="https://ganjgah.ir/api/images/thumb/@(Model.PreviouslyLinkedImage.EntityImageId).jpg" />
<img src="@GanjooRazor.APIRoot.Url/api/images/thumb/@(Model.PreviouslyLinkedImage.EntityImageId).jpg" />
}
</td>
</tr>

View File

@ -287,7 +287,7 @@
//<![CDATA[
$(document).ready(function () {
prepareclip('@Html.Raw($"https://ganjgah.ir/api/audio/file/{Model.Recitation.Id}.xml")', '@Model.Recitation.AudioTitle',
prepareclip('@Html.Raw($"{GanjooRazor.APIRoot.Url}/api/audio/file/{Model.Recitation.Id}.xml")', '@Model.Recitation.AudioTitle',
'به خوانش @Model.Recitation.AudioArtist', '', '@Model.Recitation.Mp3Url', verses);

View File

@ -69,7 +69,7 @@
//<![CDATA[
$(document).ready(function () {
var jlist = prepaudio(
"@Html.Raw($"https://ganjgah.ir/api/audio/file/{Model.GanjoorPage.Poem.Recitations[0].Id}.xml")",
"@Html.Raw($"{GanjooRazor.APIRoot.Url}/api/audio/file/{Model.GanjoorPage.Poem.Recitations[0].Id}.xml")",
"@Html.Raw(Model.GanjoorPage.Poem.Recitations[0].AudioTitle)",
"@Html.Raw(Model.getAudioDesc(Model.GanjoorPage.Poem.Recitations[0], true))",
"",
@ -80,7 +80,7 @@
{
<text>
addpaudio(@x, jlist,
"@Html.Raw($"https://ganjgah.ir/api/audio/file/{Model.GanjoorPage.Poem.Recitations[x].Id}.xml")",
"@Html.Raw($"{GanjooRazor.APIRoot.Url}/api/audio/file/{Model.GanjoorPage.Poem.Recitations[x].Id}.xml")",
"@Html.Raw(Model.GanjoorPage.Poem.Recitations[x].AudioTitle)",
"@Html.Raw(Model.getAudioDesc(Model.GanjoorPage.Poem.Recitations[x], false))",
"",