UB-Heidelberg / omp

Open Monograph Press
http://pkp.sfu.ca/omp
0 stars 0 forks source link

Custom Blocks #13

Closed bozana closed 8 years ago

bozana commented 8 years ago

Could the custom blocks be at the same position i.e. have the same layout as Browse, Language, Information block?

NateWr commented 8 years ago

They should be now. See this commit. Here's an example of what one looks like:

custom-block

There are a bunch of block plugins that need their templates updated to match the new block HTML pattern:

<div class="pkp_block block_[type]">
  <!-- optional title -->
  <span class="title">Title</span>
  <!-- required content wrapper -->
  <div class="content">
    Any content
  </div>
</div>
asmecher commented 8 years ago

@bozana, can you check and close this one if it's OK?

bozana commented 8 years ago

Great! Thanks!