Skip to content

Commit

Permalink
v1.7.0: Nibras can be accessed now from an admin account and a reader…
Browse files Browse the repository at this point in the history
… account with simplified options and data visibility to help concentration and productivity.
  • Loading branch information
mfakih294 committed Jul 28, 2021
1 parent 7ba9193 commit 4835f9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions grails-app/views/appMain/main.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@


%{--<link rel="shortcut icon" href="${resource(dir: 'images', file: 'favicon-transparent.png')}" type="image/png"/>--}%
<link rel="shortcut icon" href="${resource(dir: 'images', file: 'calendar.ico')}" type="image/ico"/>
<link rel="shortcut icon" href="${resource(dir: 'images', file: 'favicon-transparent.png')}" type="image/png"/>



Expand Down Expand Up @@ -604,7 +604,7 @@ $("#accordionCenter").accordion({

<body>

<g:render template="/appMain/regions" model="[htmlContent: htmlContent, ips: ips, recentRecords: recentRecords]"/>
<g:render template="/appMain/regions" model="[htmlContent: htmlContent, ips: ips, recentRecords: recentRecords, types: types]"/>
<div id="idletimeout"></div>


Expand Down
2 changes: 1 addition & 1 deletion grails-app/views/reports/quranReportTex.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
%{--<g:each in="${mcs.Writing.executeQuery('from Writing i where i.type.code = ? order by i.orderInBook', ['surah'])}" var="w"><g:set var="count" value="${1}"/> \section{${w.orderInBook + ' ' + w.summary} (\#${app.IndexCard.executeQuery('select count(*) from IndexCard i where i.recordId = ? and i.type.code = ? and i.isNewSection = ?', [w.id.toString(), 'aya', true])[0] + 1})} [{${count++}]<g:each in="${app.IndexCard.executeQuery('from IndexCard i where i.recordId = ? and i.type.code = ? order by i.orderInWriting', [w.id.toString(), 'aya'])}" var="r"> <g:if test="${r.isNewSection}"> $\large{\P}$ \normalsize \newline [${count++}] </g:if>${r.shortDescription} \small{\emph{(${r.orderInWriting})}\normalsize}</g:each>$\large\S$ \newpage\normalsize</g:each>--}%
%{--\newline--}%
<g:each in="${mcs.Writing.executeQuery('from Writing i where i.type.code = ? order by i.orderInBook', ['surah'])}" var="w"><g:set var="count" value="${1}"/>
\section{${w.orderInBook + ' سورة ' + w.summary}} [${count++}]
\section{${w.orderInBook + ' ÓæÑÉ ' + w.summary}} [${count++}]
<g:each in="${app.IndexCard.executeQuery('from IndexCard i where i.recordId = ? and i.type.code = ? order by i.orderInWriting', [w.id.toString(), 'aya'])}" var="r"> <g:if test="${r.isNewSection}"> $\large\S$ \newpage \normalsize [${count++}] </g:if> ${r.shortDescription} \small{(${r.orderInWriting})}</g:each> \normalsize

</g:each>

0 comments on commit 4835f9e

Please sign in to comment.