Changes to the mineral practice page

This commit is contained in:
2014-02-22 13:38:18 +10:00
parent 95abf5d7c3
commit 838112be0d
12 changed files with 874 additions and 247 deletions

View File

@@ -61,10 +61,11 @@ class Sample(CommonInfo):
@property
def url(self):
if isinstance(self, Mineral):
return 'three_d_viewer:mineral_detail'
else:
return 'three_d_viewer:detail'
return 'three_d_viewer:mineral_detail'
#if isinstance(self, Mineral):
# return 'three_d_viewer:mineral_detail'
#else:
# return 'three_d_viewer:detail'
class Mineral(Sample):