|
|
@ -112,6 +112,8 @@ class Identifiers(Base):
|
|
|
|
return u"Google Books"
|
|
|
|
return u"Google Books"
|
|
|
|
elif self.type == "kobo":
|
|
|
|
elif self.type == "kobo":
|
|
|
|
return u"Kobo"
|
|
|
|
return u"Kobo"
|
|
|
|
|
|
|
|
if self.type == "lubimyczytac":
|
|
|
|
|
|
|
|
return u"Lubimyczytac"
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
return self.type
|
|
|
|
return self.type
|
|
|
|
|
|
|
|
|
|
|
@ -130,6 +132,8 @@ class Identifiers(Base):
|
|
|
|
return u"https://books.google.com/books?id={0}".format(self.val)
|
|
|
|
return u"https://books.google.com/books?id={0}".format(self.val)
|
|
|
|
elif self.type == "kobo":
|
|
|
|
elif self.type == "kobo":
|
|
|
|
return u"https://www.kobo.com/ebook/{0}".format(self.val)
|
|
|
|
return u"https://www.kobo.com/ebook/{0}".format(self.val)
|
|
|
|
|
|
|
|
elif self.type == "lubimyczytac":
|
|
|
|
|
|
|
|
return u" http://lubimyczytac.pl/ksiazka/{0}".format(self.val)
|
|
|
|
elif self.type == "url":
|
|
|
|
elif self.type == "url":
|
|
|
|
return u"{0}".format(self.val)
|
|
|
|
return u"{0}".format(self.val)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|