mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	* feat: Adds pages to edit portals * Update app/javascript/dashboard/i18n/locale/en/helpCenter.json * Update app/javascript/dashboard/routes/dashboard/helpcenter/helpcenter.routes.js Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> * Review fixes * Adds translations * Fixes broken tests * Update app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalPopover.vue * Update app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalPopover.vue Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
		
			
				
	
	
		
			34 lines
		
	
	
		
			617 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			617 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
<template>
 | 
						|
  <div class="column page-top-banner">
 | 
						|
    <h2 class="page-sub-title">
 | 
						|
      {{ headerTitle }}
 | 
						|
    </h2>
 | 
						|
    <p v-if="headerContent" class="small-12 column">
 | 
						|
      {{ headerContent }}
 | 
						|
    </p>
 | 
						|
    <slot />
 | 
						|
  </div>
 | 
						|
</template>
 | 
						|
 | 
						|
<script>
 | 
						|
export default {
 | 
						|
  props: {
 | 
						|
    headerTitle: {
 | 
						|
      type: String,
 | 
						|
      default: '',
 | 
						|
    },
 | 
						|
    headerContent: {
 | 
						|
      type: String,
 | 
						|
      default: '',
 | 
						|
    },
 | 
						|
  },
 | 
						|
};
 | 
						|
</script>
 | 
						|
<style lang="scss" scoped>
 | 
						|
.page-top-banner {
 | 
						|
  border-bottom: 1px solid var(--color-border-light);
 | 
						|
  background: var(--s-25);
 | 
						|
  padding: var(--space-normal) var(--space-large) 0;
 | 
						|
}
 | 
						|
</style>
 |