diff --git a/ram/portal/templates/bookshelf/book.html b/ram/portal/templates/bookshelf/book.html index 171db8e..47be5c6 100644 --- a/ram/portal/templates/bookshelf/book.html +++ b/ram/portal/templates/bookshelf/book.html @@ -108,16 +108,6 @@ Publication year {{ book.publication_year|default:"-" }} - {% if request.user.is_staff %} - - Purchase date - {{ book.purchase_date|default:"-" }} - - - Price ({{ site_conf.currency }}) - {{ book.price|default:"-" }} - - {% endif %} {% if book.description %} Description @@ -126,6 +116,25 @@ {% endif %} + {% if request.user.is_staff %} + + + + + + + + + + + + + + + + +
Purchase
Purchase date{{ book.purchase_date|default:"-" }}
Price ({{ site_conf.currency }}){{ book.price|default:"-" }}
+ {% endif %} {% if properties %} diff --git a/ram/portal/templates/rollingstock.html b/ram/portal/templates/rollingstock.html index ece8008..30271f8 100644 --- a/ram/portal/templates/rollingstock.html +++ b/ram/portal/templates/rollingstock.html @@ -73,7 +73,7 @@
- + @@ -182,16 +182,6 @@ - {% if request.user.is_staff %} - - - - - - - - - {% endif %} {% if rolling_stock.description %} @@ -200,6 +190,25 @@ {% endif %}
DataRolling stock
Production year {{ rolling_stock.production_year|default:"-" }}
Purchase date{{ rolling_stock.purchase_date|default:"-" }}
Price ({{ site_conf.currency }}){{ rolling_stock.price|default:"-" }}
Description
+ {% if request.user.is_staff %} + + + + + + + + + + + + + + + + +
Purchase
Purchase date{{ rolling_stock.purchase_date|default:"-" }}
Price ({{ site_conf.currency }}){{ rolling_stock.price|default:"-" }}
+ {% endif %} {% if properties %}