rename to avoid warning
a new version of persistent exports an "exists"
This commit is contained in:
parent
d9fbbb2346
commit
0697dbe2d2
1 changed files with 2 additions and 2 deletions
|
@ -180,11 +180,11 @@ escapeHeader = escapeURIString (\c -> isUnescapedInURI c && c /= ' ')
|
||||||
getRepoInfo :: RemoteConfig -> Widget
|
getRepoInfo :: RemoteConfig -> Widget
|
||||||
getRepoInfo c = do
|
getRepoInfo c = do
|
||||||
uo <- liftAnnex Url.getUrlOptions
|
uo <- liftAnnex Url.getUrlOptions
|
||||||
exists <- liftAnnex $ catchDefaultIO False $ Url.exists url uo
|
urlexists <- liftAnnex $ catchDefaultIO False $ Url.exists url uo
|
||||||
[whamlet|
|
[whamlet|
|
||||||
<a href="#{url}">
|
<a href="#{url}">
|
||||||
Internet Archive item
|
Internet Archive item
|
||||||
$if (not exists)
|
$if (not urlexists)
|
||||||
<p>
|
<p>
|
||||||
The page will only be available once some files #
|
The page will only be available once some files #
|
||||||
have been uploaded, and the Internet Archive has processed them.
|
have been uploaded, and the Internet Archive has processed them.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue